Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-04-23 15:13:36 +0400
committerJoshua Leung <aligorith@gmail.com>2011-04-23 15:13:36 +0400
commit2060a261391499f64a372fb38dce0c977300d742 (patch)
treeedbaef85fabd07969b49cbfcdeb58ff63b89a4d1 /source
parent855a3e6ce3741513576dac5ebbecc580fb9c07e7 (diff)
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
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_constraint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c
index e57491dc36d..966e679f0fe 100644
--- a/source/blender/makesrna/intern/rna_constraint.c
+++ b/source/blender/makesrna/intern/rna_constraint.c
@@ -2043,7 +2043,7 @@ void RNA_def_constraint(BlenderRNA *brna)
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);