Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-11-16 12:39:41 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-11-16 12:39:41 +0300
commit4722fc5dd0a335588a160e43cf77223c256ebd31 (patch)
treee78c43b7ff3c0a3cfc735db7b20dbebef8e31327 /source/blender/editors/armature
parenteb9e9f7f1ac2c7aaec13906acca4f047d3e82e99 (diff)
Disable possibility to flip bone names of linked armatures
Linked data should not be modified in such a way. Reported by Nathan here in the studio, reviewed by Bastien, thanks!
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/pose_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c
index 5015829f868..322476dcca0 100644
--- a/source/blender/editors/armature/pose_edit.c
+++ b/source/blender/editors/armature/pose_edit.c
@@ -626,7 +626,7 @@ void POSE_OT_flip_names(wmOperatorType *ot)
/* api callbacks */
ot->exec = pose_flip_names_exec;
- ot->poll = ED_operator_posemode;
+ ot->poll = ED_operator_posemode_local;
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;