add back pose specials menu, also add back the ability to clear user transforms on all bones (not just selected - mango request - was possible in 2.4x).
- rename only_select op property to only_selected (both were used). - only do mingw workaround when building with FREE_WINDOWS defined.
This commit is contained in:
@@ -1538,6 +1538,24 @@ class VIEW3D_MT_pose_apply(Menu):
|
||||
layout.operator("pose.visual_transform_apply")
|
||||
|
||||
|
||||
class VIEW3D_MT_pose_specials(Menu):
|
||||
bl_label = "Specials"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.operator("pose.select_constraint_target")
|
||||
layout.operator("pose.flip_names")
|
||||
layout.operator("pose.paths_calculate")
|
||||
layout.operator("pose.paths_clear")
|
||||
layout.operator("pose.user_transforms_clear")
|
||||
layout.operator("pose.user_transforms_clear", text="Clear User Transforms (All)").only_selected = False
|
||||
layout.operator("pose.relax")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator_menu_enum("pose.autoside_names", "axis")
|
||||
|
||||
|
||||
class BoneOptions:
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
Reference in New Issue
Block a user