mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
1c7fa90d78
commit
15aca14b6e
@ -129,8 +129,11 @@ class ParticleEffect(NodePath):
|
|||||||
# Add a blank line
|
# Add a blank line
|
||||||
f.write('\n')
|
f.write('\n')
|
||||||
|
|
||||||
# Save all the particles to file
|
# Make sure we start with a clean slate
|
||||||
f.write('self.particlesDict = {}\n')
|
f.write('self.particlesDict = {}\n')
|
||||||
|
f.write('self.forceGroupDict = {}\n')
|
||||||
|
|
||||||
|
# Save all the particles to file
|
||||||
num = 0
|
num = 0
|
||||||
for p in self.particlesDict.values():
|
for p in self.particlesDict.values():
|
||||||
target = 'p%d' % num
|
target = 'p%d' % num
|
||||||
@ -140,7 +143,6 @@ class ParticleEffect(NodePath):
|
|||||||
f.write('self.addParticles(%s)\n' % target)
|
f.write('self.addParticles(%s)\n' % target)
|
||||||
|
|
||||||
# Save all the forces to file
|
# Save all the forces to file
|
||||||
f.write('self.forceGroupDict = {}\n')
|
|
||||||
num = 0
|
num = 0
|
||||||
for fg in self.forceGroupDict.values():
|
for fg in self.forceGroupDict.values():
|
||||||
target = 'f%d' % num
|
target = 'f%d' % num
|
||||||
|
Loading…
x
Reference in New Issue
Block a user