From: Antti Villberg Date: Sun, 5 May 2019 03:48:39 +0000 (+0300) Subject: Merge branch 'private/psaas' of ssh://villberg@gerrit.simantics.org:29418/simantics... X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fprivate%2Fpsaas;hp=e5871be84f8ba53a1c80be728bcfb67231c29279;p=simantics%2Fplatform.git Merge branch 'private/psaas' of ssh://villberg@gerrit.simantics.org:29418/simantics/platform into private/psaas --- diff --git a/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java b/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java index 9d379c890..2c0ac3ace 100644 --- a/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java +++ b/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java @@ -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> updatesCopy = new ArrayList<>(updates); updates.clear();