Revision: 19745
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19745
Author:   genscher
Date:     2009-04-15 23:03:23 +0200 (Wed, 15 Apr 2009)

Log Message:
-----------
RNA fixes provided by Thomas Dinges / DingTo - Thanks!

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_armature.c
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_cloth.c
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_fluidsim.c

Modified: 
branches/blender2.5/blender/source/blender/makesrna/intern/rna_armature.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_armature.c   
2009-04-15 19:33:25 UTC (rev 19744)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_armature.c   
2009-04-15 21:03:23 UTC (rev 19745)
@@ -403,7 +403,7 @@
                /* bone path settings */
        prop= RNA_def_property(srna, "path_size", PROP_INT, PROP_NONE);
        RNA_def_property_int_sdna(prop, NULL, "pathsize");
-       RNA_def_property_range(prop, 0, 100);
+       RNA_def_property_range(prop, 1, 100);
        RNA_def_property_ui_text(prop, "Bone Paths Frame Step", "Number of 
frames between 'dots' on Bone Paths (when drawing).");
        
        prop= RNA_def_property(srna, "path_start_frame", PROP_INT, PROP_NONE);

Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_cloth.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_cloth.c      
2009-04-15 19:33:25 UTC (rev 19744)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_cloth.c      
2009-04-15 21:03:23 UTC (rev 19745)
@@ -196,7 +196,7 @@
 
        prop= RNA_def_property(srna, "pin_stiffness", PROP_FLOAT, PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "goalspring");
-       RNA_def_property_range(prop, 0.0f, 0.50);
+       RNA_def_property_range(prop, 0.0f, 50.0);
        RNA_def_property_ui_text(prop, "Pin Stiffness", "Pin (vertex target 
position) spring stiffness.");
 
        prop= RNA_def_property(srna, "quality", PROP_INT, PROP_NONE);

Modified: 
branches/blender2.5/blender/source/blender/makesrna/intern/rna_fluidsim.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_fluidsim.c   
2009-04-15 19:33:25 UTC (rev 19744)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_fluidsim.c   
2009-04-15 21:03:23 UTC (rev 19745)
@@ -148,7 +148,7 @@
        prop= RNA_def_property(srna, "gravity", PROP_FLOAT, PROP_VECTOR);
        RNA_def_property_float_sdna(prop, NULL, "gravx");
        RNA_def_property_array(prop, 3);
-       RNA_def_property_range(prop, -1000.0, 1000.0);
+       RNA_def_property_range(prop, -1000.1, 1000.1);
        RNA_def_property_ui_text(prop, "Gravity", "Gravity in X, Y and Z 
direction.");
 
        prop= RNA_def_property(srna, "viscosity_preset", PROP_ENUM, PROP_NONE);
@@ -246,7 +246,7 @@
        prop= RNA_def_property(srna, "initial_velocity", PROP_FLOAT, 
PROP_VECTOR);
        RNA_def_property_float_sdna(prop, NULL, "iniVelx");
        RNA_def_property_array(prop, 3);
-       RNA_def_property_range(prop, -1000.0, 1000.0);
+       RNA_def_property_range(prop, -1000.1, 1000.1);
        RNA_def_property_ui_text(prop, "Initial Velocity", "Initial velocity of 
fluid.");
 }
 
@@ -282,7 +282,7 @@
        prop= RNA_def_property(srna, "inflow_velocity", PROP_FLOAT, 
PROP_VECTOR);
        RNA_def_property_float_sdna(prop, NULL, "iniVelx");
        RNA_def_property_array(prop, 3);
-       RNA_def_property_range(prop, -1000.0, 1000.0);
+       RNA_def_property_range(prop, -1000.1, 1000.1);
        RNA_def_property_ui_text(prop, "Inflow Velocity", "Initial velocity of 
fluid.");
 
        prop= RNA_def_property(srna, "local_coordinates", PROP_BOOLEAN, 
PROP_NONE);
@@ -359,22 +359,22 @@
 
        prop= RNA_def_property(srna, "attraction_strength", PROP_FLOAT, 
PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "attractforceStrength");
-       RNA_def_property_range(prop, 0.0, 2.0);
+       RNA_def_property_range(prop, -10.0, 10.0);
        RNA_def_property_ui_text(prop, "Attraction Strength", "Force strength 
for directional attraction towards the control object.");
 
        prop= RNA_def_property(srna, "attraction_radius", PROP_FLOAT, 
PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "attractforceRadius");
-       RNA_def_property_range(prop, 0.0, 5.0);
+       RNA_def_property_range(prop, 0.0, 10.0);
        RNA_def_property_ui_text(prop, "Attraction Radius", "Specifies the 
force field radius around the control object.");
        
        prop= RNA_def_property(srna, "velocity_strength", PROP_FLOAT, 
PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "velocityforceStrength");
-       RNA_def_property_range(prop, 0.0, 2.0);
+       RNA_def_property_range(prop, 0.0, 10.0);
        RNA_def_property_ui_text(prop, "Velocity Strength", "Force strength of 
how much of the control object's velocity is influencing the fluid velocity.");
 
        prop= RNA_def_property(srna, "velocity_radius", PROP_FLOAT, PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "velocityforceRadius");
-       RNA_def_property_range(prop, 0.0, 2.0);
+       RNA_def_property_range(prop, 0.0, 10.0);
        RNA_def_property_ui_text(prop, "Velocity Radius", "Specifies the force 
field radius around the control object.");
 
        prop= RNA_def_property(srna, "quality", PROP_FLOAT, PROP_NONE);


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to