]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java
Workaround to profile updating problem
[simantics/platform.git] / bundles / org.simantics.scenegraph.profile / src / org / simantics / scenegraph / profile / common / ProfileObserver.java
index 9d379c890b9bd952a3ac2b6db941b3c71acc07c6..2c0ac3aced412f004434ec93830057bc35e9e70a 100644 (file)
@@ -179,7 +179,9 @@ public class ProfileObserver implements EvaluationContext {
                                 e.apply(ProfileObserver.this);
                             }
                             updateAll = false;
-                            updates.clear();
+                            // FIXME: Updates which were applied should be cleared to prevent double update. 
+                            // We can't, however, clear all updates since some nodes might still be missing.
+                            //updates.clear(); 
                         } else {
                             List<Pair<Style, Object>> updatesCopy = new ArrayList<>(updates);
                             updates.clear();