Browse Source

DefaultParticleInfluencer: clone temp Vector3f

Wyatt Gillette 4 months ago
parent
commit
0f4353ea2c

+ 1 - 0
jme3-core/src/main/java/com/jme3/effect/influencers/DefaultParticleInfluencer.java

@@ -104,6 +104,7 @@ public class DefaultParticleInfluencer implements ParticleInfluencer {
         try {
             DefaultParticleInfluencer clone = (DefaultParticleInfluencer) super.clone();
             clone.initialVelocity = initialVelocity.clone();
+            clone.temp = temp.clone();
             return clone;
         } catch (CloneNotSupportedException e) {
             throw new AssertionError();