diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-02 18:43:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-02 18:43:33 +0300 |
commit | 4e2667ddf6b3447c5a56cf42fdb7b154d7eb95d4 (patch) | |
tree | e3c55d529ece69dba26daf104ba6230c737ac887 | |
parent | e9aa0d1e48f32a4194efaf5559939f794dbc1652 (diff) |
Constraints: Mark proxy lcoal as not editable
This can not work reliably anyway.
-rw-r--r-- | source/blender/makesrna/intern/rna_constraint.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)"); |