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