[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35707] trunk/blender/source/blender/ makesrna/intern/rna_actuator.c: Logic rna: actuator --> renaming Motion Actuator to 'MOTION' and tooltip fix

Dalai Felinto dfelinto at gmail.com
Tue Mar 22 20:39:53 CET 2011


Revision: 35707
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35707
Author:   dfelinto
Date:     2011-03-22 19:39:53 +0000 (Tue, 22 Mar 2011)
Log Message:
-----------
Logic rna: actuator --> renaming Motion Actuator to 'MOTION' and tooltip fix
internally it's still called Object Actuator, but for the user at least it's better motion.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_actuator.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_actuator.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_actuator.c	2011-03-22 16:30:46 UTC (rev 35706)
+++ trunk/blender/source/blender/makesrna/intern/rna_actuator.c	2011-03-22 19:39:53 UTC (rev 35707)
@@ -53,7 +53,7 @@
 	{ACT_2DFILTER, "FILTER_2D", 0, "Filter 2D", ""},
 	{ACT_GAME, "GAME", 0, "Game", ""},
 	{ACT_MESSAGE, "MESSAGE", 0, "Message", ""},
-	{ACT_OBJECT, "OBJECT", 0, "Motion", ""},
+	{ACT_OBJECT, "MOTION", 0, "Motion", ""},
 	{ACT_PARENT, "PARENT", 0, "Parent", ""},
 	{ACT_PROPERTY, "PROPERTY", 0, "Property", ""},
 	{ACT_RANDOM, "RANDOM", 0, "Random", ""},
@@ -1173,7 +1173,7 @@
 	prop= RNA_def_property(srna, "distance", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_funcs(prop, "rna_ConstraintActuator_distance_get", "rna_ConstraintActuator_distance_set", NULL);
 	RNA_def_property_ui_range(prop, -2000.f, 2000.f, 1, 2);
-	RNA_def_property_ui_text(prop, "Distance", "Set the maximum length of ray");
+	RNA_def_property_ui_text(prop, "Distance", "Keep this distance to target");
 	RNA_def_property_update(prop, NC_LOGIC, NULL);
 
 	//XXX to use a pointer or add a material lookup
@@ -1235,7 +1235,7 @@
 	RNA_def_property_ui_text(prop, "Distance", "Height of the force field area");
 	RNA_def_property_update(prop, NC_LOGIC, NULL);
 
-	prop= RNA_def_property(srna, "fh_force", PROP_FLOAT, PROP_PERCENTAGE);
+	prop= RNA_def_property(srna, "fh_force", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_funcs(prop, "rna_ConstraintActuator_spring_get", "rna_ConstraintActuator_spring_set", NULL);
 	RNA_def_property_ui_range(prop, 0.0, 1.0, 10, 2);
 	RNA_def_property_ui_text(prop, "Force", "Spring force within the force field area");




More information about the Bf-blender-cvs mailing list