From 9cb34326f90e75bf8424b60cd92f0a15806890b4 Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Thu, 11 Oct 2018 09:57:48 +0300 Subject: [PATCH] Fixed ProfileObserver to remove entry from correct map gitlab #145 Change-Id: Iab891836783d5de591ec686577769ed480dd5752 --- .../simantics/scenegraph/profile/common/ProfileObserver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6fc72b3d3..efac19055 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 @@ -252,7 +252,7 @@ public class ProfileObserver implements EvaluationContext { if (value == null) { map.remove(key); if (map.isEmpty()) - properties.remove(element); + temporaryProperties.remove(element); } else map.put(key, value); } -- 2.47.1