merge with/from trunk at r35190
[blender.git] / source / blender / makesrna / intern / rna_constraint.c
index 3d5164407312eb976a2f66523b122880f926e14b..9570d81772670e800f09ae4372829583d0b45303 100644 (file)
@@ -2038,7 +2038,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, "Disable", "Enable/Disable Constraint");
        
        prop= RNA_def_property(srna, "show_expanded", PROP_BOOLEAN, PROP_NONE);