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

disabling color sync for now: there's a bug

parent 2f31c50a
No related branches found
No related tags found
No related merge requests found
......@@ -14212,8 +14212,12 @@ void setColor(std::vector<int> tags[4], unsigned int val, bool recursive)
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());
// FIXME: sync in the middle of some geo files leads to crashes: disabling
// until I figure it out
//if(GModel::current()->getGEOInternals()->getChanged())
// GModel::current()->getGEOInternals()->synchronize(GModel::current());
 
for(int dim = 0; dim < 4; dim++){
for(unsigned int i = 0; i < tags[dim].size(); i++){
......
......@@ -6739,8 +6739,12 @@ void setColor(std::vector<int> tags[4], unsigned int val, bool recursive)
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());
// FIXME: sync in the middle of some geo files leads to crashes: disabling
// until I figure it out
//if(GModel::current()->getGEOInternals()->getChanged())
// GModel::current()->getGEOInternals()->synchronize(GModel::current());
for(int dim = 0; dim < 4; dim++){
for(unsigned int i = 0; i < tags[dim].size(); i++){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment