From 4e2667ddf6b3447c5a56cf42fdb7b154d7eb95d4 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 2 Apr 2019 17:43:33 +0200 Subject: Constraints: Mark proxy lcoal as not editable This can not work reliably anyway. --- source/blender/makesrna/intern/rna_constraint.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna/intern/rna_constraint.c') diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c index bddc4136622..78791b1c875 100644 --- a/source/blender/makesrna/intern/rna_constraint.c +++ b/source/blender/makesrna/intern/rna_constraint.c @@ -2549,6 +2549,7 @@ void RNA_def_constraint(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Active", "Constraint is the one being edited"); prop = RNA_def_property(srna, "is_proxy_local", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_boolean_sdna(prop, NULL, "flag", CONSTRAINT_PROXY_LOCAL); RNA_def_property_ui_text(prop, "Proxy Local", "Constraint was added in this proxy instance (i.e. did not belong to source Armature)"); -- cgit v1.2.3