]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/scenegraph/ModelNode.java
Moved animation stubs for g2d.stubs to animation plug-in
[simantics/3d.git] / org.simantics.proconf.g3d / src / org / simantics / proconf / g3d / scenegraph / ModelNode.java
index ff2b6faa59ed212a14067e0be5e9372cafea8dd2..844393aa76ef8ca24ace66a72be700372378348d 100644 (file)
@@ -175,14 +175,14 @@ public class ModelNode extends AbstractGraphicsNode implements Animatable, IGeom
             return false;    \r
         }\r
         G3DModel model = getG3DModel(graph);\r
-        Collection<org.simantics.g2d.stubs.anim.Animation> animations = model.getAnimation();\r
+        Collection<org.simantics.animation.stubs.Animation> animations = model.getAnimation();\r
         int num = animations.size();\r
         if (num == 0) {\r
             ErrorLogger.getDefault().logWarning("Cannot set animation for " + shapeResource + " since it has no animations", null);\r
             return false;            \r
         }\r
         int random = (int)Math.round(Math.random() * (num-1));\r
-        Iterator<org.simantics.g2d.stubs.anim.Animation> i = animations.iterator();\r
+        Iterator<org.simantics.animation.stubs.Animation> i = animations.iterator();\r
         while(random > 0) {\r
             i.next();\r
             random--;\r