|
@@ -66,7 +66,7 @@ class ParticleInterval(Interval):
|
|
|
# Record instance variables
|
|
# Record instance variables
|
|
|
self.particleEffect = particleEffect
|
|
self.particleEffect = particleEffect
|
|
|
self.cleanup = cleanup
|
|
self.cleanup = cleanup
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
if parent != None:
|
|
if parent != None:
|
|
|
self.particleEffect.reparentTo(parent)
|
|
self.particleEffect.reparentTo(parent)
|
|
|
if worldRelative:
|
|
if worldRelative:
|
|
@@ -118,8 +118,7 @@ class ParticleInterval(Interval):
|
|
|
|
|
|
|
|
def privInstant(self):
|
|
def privInstant(self):
|
|
|
self.privInitialize(self.getDuration())
|
|
self.privInitialize(self.getDuration())
|
|
|
- self.state = CInterval.SFinal
|
|
|
|
|
- self.intervalDone()
|
|
|
|
|
|
|
+ self.privFinalize()
|
|
|
|
|
|
|
|
def privStep(self, t):
|
|
def privStep(self, t):
|
|
|
if self.state == CInterval.SPaused or t < self.currT:
|
|
if self.state == CInterval.SPaused or t < self.currT:
|