2.5 Constraints:
authorThomas Dinges <blender@dingto.org>
Fri, 3 Sep 2010 16:45:33 +0000 (16:45 +0000)
committerThomas Dinges <blender@dingto.org>
Fri, 3 Sep 2010 16:45:33 +0000 (16:45 +0000)
*Enable/Disable Checkbox was inverted.

source/blender/makesrna/intern/rna_constraint.c

index a58807902d83c64daacb463de23aa62043523c72..cf5db93089877290e5cc4fa5a30bc0de638ece95 100644 (file)
@@ -1941,7 +1941,7 @@ void RNA_def_constraint(BlenderRNA *brna)
 
        /* flags */
        prop= RNA_def_property(srna, "mute", PROP_BOOLEAN, PROP_NONE);
-       RNA_def_property_boolean_sdna(prop, NULL, "flag", CONSTRAINT_OFF);
+       RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", CONSTRAINT_OFF);
        RNA_def_property_ui_text(prop, "Enabled", "Enable/Disable Constraint");
        
        prop= RNA_def_property(srna, "show_expanded", PROP_BOOLEAN, PROP_NONE);