]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.proconf.processeditor/src/org/simantics/processeditor/animations/PipeFlowAnimation.java
git-svn-id: https://www.simantics.org/svn/simantics/3d/branches/dev@9355 ac1ea38d...
[simantics/3d.git] / org.simantics.proconf.processeditor / src / org / simantics / processeditor / animations / PipeFlowAnimation.java
index b1f4281eac9287258aa877892f5261ab58778b9b..7c9bc424ba424102d607b8d9e0bc08bb219a4efc 100644 (file)
@@ -76,7 +76,7 @@ public class PipeFlowAnimation implements Animatable{
        if (numParticles < 2)\r
                numParticles = 2;\r
        \r
-       particle = ParticleFactory.buildParticles("Animation of " + s.getResource().getResourceId(s.getGraph().getSession()),numParticles, ParticleGeometry.PT_QUAD);//new ParticleMesh("Animation of " + r.getId(),40);\r
+       particle = ParticleFactory.buildParticles("Animation of " + s.getResource().getResourceId(),numParticles, ParticleGeometry.PT_QUAD);//new ParticleMesh("Animation of " + r.getId(),40);\r
        particle.setEmissionDirection(VecmathJmeTools.get(dir).normalize());\r
        particle.setLocalTranslation(VecmathJmeTools.get(p1));\r
        particle.setEmitType(ParticleGeometry.ET_POINT);\r