From a1abdf1c1c59f908684001d1d9b0b4bbc392cca7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 27 Jun 2011 07:51:52 +0000 Subject: fix [#27778] Set Bone Flags - No Scale - Toggle seems not to work. Toggling options on the selection is better done as a generic operator. Replace ARMATURE_OT_flags_set and POSE_OT_flags_set with WM_OT_context_collection_boolean_set and use menus to access it with specific settings. This way its easy make a key shortcut which toggles any boolean on any collection - sequences, metaballs, objects, bones etc. --- source/blender/editors/armature/armature_intern.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender/editors/armature/armature_intern.h') diff --git a/source/blender/editors/armature/armature_intern.h b/source/blender/editors/armature/armature_intern.h index 82decf8d1cf..85da7a212c9 100644 --- a/source/blender/editors/armature/armature_intern.h +++ b/source/blender/editors/armature/armature_intern.h @@ -79,8 +79,6 @@ void ARMATURE_OT_separate(struct wmOperatorType *ot); void ARMATURE_OT_autoside_names(struct wmOperatorType *ot); void ARMATURE_OT_flip_names(struct wmOperatorType *ot); -void ARMATURE_OT_flags_set(struct wmOperatorType *ot); - void ARMATURE_OT_layers_show_all(struct wmOperatorType *ot); void ARMATURE_OT_armature_layers(struct wmOperatorType *ot); void ARMATURE_OT_bone_layers(struct wmOperatorType *ot); @@ -125,8 +123,6 @@ void POSE_OT_flip_names(struct wmOperatorType *ot); void POSE_OT_quaternions_flip(struct wmOperatorType *ot); -void POSE_OT_flags_set(struct wmOperatorType *ot); - void POSE_OT_armature_layers(struct wmOperatorType *ot); void POSE_OT_bone_layers(struct wmOperatorType *ot); -- cgit v1.2.3