Browse Source

fixed typo

fuseya 24 years ago
parent
commit
8670e3075a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/particles/Particles.py

+ 2 - 2
direct/src/particles/Particles.py

@@ -419,9 +419,9 @@ class Particles(ParticleSystem.ParticleSystem):
             file.write((targ + '.emitter.setLocation(Point3(%.4f, %.4f, %.4f))\n' % (point[0], point[1], point[2])))
             file.write((targ + '.emitter.setLocation(Point3(%.4f, %.4f, %.4f))\n' % (point[0], point[1], point[2])))
         elif (self.emitterType == "RectangleEmitter"):
         elif (self.emitterType == "RectangleEmitter"):
             file.write('# Rectangle parameters\n')
             file.write('# Rectangle parameters\n')
-            bound = self.emitter.getMinBound()
+            point = self.emitter.getMinBound()
             file.write((targ + '.emitter.setMinBound(Point2(%.4f, %.4f))\n' % (point[0], point[1])))
             file.write((targ + '.emitter.setMinBound(Point2(%.4f, %.4f))\n' % (point[0], point[1])))
-            bound = self.emitter.getMaxBound()
+            point = self.emitter.getMaxBound()
             file.write((targ + '.emitter.setMaxBound(Point2(%.4f, %.4f))\n' % (point[0], point[1])))
             file.write((targ + '.emitter.setMaxBound(Point2(%.4f, %.4f))\n' % (point[0], point[1])))
         elif (self.emitterType == "RingEmitter"):
         elif (self.emitterType == "RingEmitter"):
             file.write('# Ring parameters\n')
             file.write('# Ring parameters\n')