X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.proconf.processeditor%2Fsrc%2Forg%2Fsimantics%2Fprocesseditor%2Fdialogs%2FConfigureAnimationDialog.java;h=4ef225bbfb396e60e38102f81b01bed4885165c5;hb=8c1acb920361f006af8d795b0ce53196fd7d0b86;hp=421bdd55405a508eef891862f0a293e9c8c9de36;hpb=3f308c5d93146caa14c544c4cc93076c4a38f8bb;p=simantics%2F3d.git diff --git a/org.simantics.proconf.processeditor/src/org/simantics/processeditor/dialogs/ConfigureAnimationDialog.java b/org.simantics.proconf.processeditor/src/org/simantics/processeditor/dialogs/ConfigureAnimationDialog.java index 421bdd55..4ef225bb 100644 --- a/org.simantics.proconf.processeditor/src/org/simantics/processeditor/dialogs/ConfigureAnimationDialog.java +++ b/org.simantics.proconf.processeditor/src/org/simantics/processeditor/dialogs/ConfigureAnimationDialog.java @@ -189,7 +189,7 @@ public class ConfigureAnimationDialog extends Dialog { IEntity t = EntityFactory.create(g,type); if (t.getRelatedObjects(ProcessResource.plant3Dresource.HasGraphics).size() > 0) { String key = t.getName(); - if (key.equals("")) key = "ERROR (" + type.getResourceId(g.getSession()) + ")"; + if (key.equals("")) key = "ERROR (" + type.getResourceId() + ")"; sorter.put(key, type); } } @@ -366,7 +366,7 @@ public class ConfigureAnimationDialog extends Dialog { Collection animations = model.getAnimation(); for (Animation a : animations) { String key = a.getName(); - if (key.equals("")) key = "ERROR (" + a.getResource().getResourceId(model.getGraph().getSession()) + ")"; + if (key.equals("")) key = "ERROR (" + a.getResource().getResourceId() + ")"; sorter.put(key, a); }