Sfoglia il codice sorgente

*** empty log message ***

Mike Goslin 25 anni fa
parent
commit
1c7fa90d78
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      direct/src/particles/ParticleEffect.py

+ 1 - 0
direct/src/particles/ParticleEffect.py

@@ -140,6 +140,7 @@ class ParticleEffect(NodePath):
 	    f.write('self.addParticles(%s)\n' % target)
 
 	# Save all the forces to file
+	f.write('self.forceGroupDict = {}\n')
 	num = 0
 	for fg in self.forceGroupDict.values():
 	    target = 'f%d' % num