[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36298] trunk/blender/source/blender/ makesrna/intern/rna_constraint.c: Bugfix [#27134] Minor bug in the name: property Constraint.is_valid

Joshua Leung aligorith at gmail.com
Sat Apr 23 13:13:36 CEST 2011


Revision: 36298
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36298
Author:   aligorith
Date:     2011-04-23 11:13:36 +0000 (Sat, 23 Apr 2011)
Log Message:
-----------
Bugfix [#27134] Minor bug in the name: property Constraint.is_valid
has label "Disabled"

"is_valid" RNA property for constraints had the property name
inverted, but the displayed name and tooltips were not inverted too

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

Modified: trunk/blender/source/blender/makesrna/intern/rna_constraint.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_constraint.c	2011-04-23 11:09:24 UTC (rev 36297)
+++ trunk/blender/source/blender/makesrna/intern/rna_constraint.c	2011-04-23 11:13:36 UTC (rev 36298)
@@ -2043,7 +2043,7 @@
 	prop= RNA_def_property(srna, "is_valid", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_clear_flag(prop, PROP_EDITABLE);
 	RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", CONSTRAINT_DISABLE);
-	RNA_def_property_ui_text(prop, "Disabled", "Constraint has invalid settings and will not be evaluated");
+	RNA_def_property_ui_text(prop, "Valid", "Constraint has valid settings and can be evaluated");
 	
 		// TODO: setting this to true must ensure that all others in stack are turned off too...
 	prop= RNA_def_property(srna, "active", PROP_BOOLEAN, PROP_NONE);




More information about the Bf-blender-cvs mailing list