Skip to content
Snippets Groups Projects
Commit 24286381 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add missing OCC sync in getAllPhysicalTags()

parent 9e11bf59
No related branches found
No related tags found
No related merge requests found
......@@ -15697,6 +15697,9 @@ void getAllElementaryTags(int dim, List_T *out)
 
void getAllPhysicalTags(int dim, List_T *out)
{
if(GModel::current()->getOCCInternals() &&
GModel::current()->getOCCInternals()->getChanged())
GModel::current()->getOCCInternals()->synchronize(GModel::current());
if(GModel::current()->getGEOInternals()->getChanged())
GModel::current()->getGEOInternals()->synchronize(GModel::current());
 
......
......@@ -7282,6 +7282,9 @@ void getAllElementaryTags(int dim, List_T *out)
void getAllPhysicalTags(int dim, List_T *out)
{
if(GModel::current()->getOCCInternals() &&
GModel::current()->getOCCInternals()->getChanged())
GModel::current()->getOCCInternals()->synchronize(GModel::current());
if(GModel::current()->getGEOInternals()->getChanged())
GModel::current()->getGEOInternals()->synchronize(GModel::current());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment