fixed a small bug (missing prop) , should work fine now
authormr Kilon Alios <thekilon@yahoo.co.uk>
Wed, 26 Oct 2011 11:45:45 +0000 (11:45 +0000)
committermr Kilon Alios <thekilon@yahoo.co.uk>
Wed, 26 Oct 2011 11:45:45 +0000 (11:45 +0000)
object_drop_to_ground.py

index c093748109fab969e7f2a5758489568d18e4f775..783756cb0f96ef8b7ac225df8642aae722921008 100644 (file)
@@ -88,7 +88,7 @@ def do_drop(context,tmpObj, ob):
 # if the specific percentage is zero then the general percentage is used
 def compute_percentage(min,max,value,percentage):
         range = max-min
-        general_percentage = bpy.context.scene.general_percentage
+        general_percentage = 100
         
         if percentage == 0:
             percentage_random = ( value -((range*(general_percentage/100))/2) )+ (range * (general_percentage / 100) * random.random())