diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-04-23 15:13:36 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-04-23 15:13:36 +0400 |
commit | 2060a261391499f64a372fb38dce0c977300d742 (patch) | |
tree | edbaef85fabd07969b49cbfcdeb58ff63b89a4d1 | |
parent | 855a3e6ce3741513576dac5ebbecc580fb9c07e7 (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
-rw-r--r-- | source/blender/makesrna/intern/rna_constraint.c | 2 |
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); |