[Bf-blender-cvs] [1eb26680d4b] blender2.8: Expose armature.dissolve to the menu
Dalai Felinto
noreply at git.blender.org
Fri Sep 28 23:54:12 CEST 2018
Commit: 1eb26680d4b382104a6260a5e4788166d65bdb89
Author: Dalai Felinto
Date: Fri Sep 28 18:53:25 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB1eb26680d4b382104a6260a5e4788166d65bdb89
Expose armature.dissolve to the menu
Following the vertice delete menu logic here, where delete needs no verb
and the special case (dissolve here) gets the full verb + noun)
Note: This operator wasn't even listed in the T54646 task. I suspect other
operators may share the same fate.
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 2b1a9e5698e..a29ce803469 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3499,7 +3499,7 @@ class VIEW3D_MT_edit_armature(Menu):
layout.separator()
- layout.operator("armature.delete")
+ layout.menu("VIEW3D_MT_edit_armature_delete")
class VIEW3D_MT_armature_specials(Menu):
@@ -3553,11 +3553,11 @@ class VIEW3D_MT_edit_armature_delete(Menu):
def draw(self, context):
layout = self.layout
- layout.operator("armature.delete", text="Delete Bones")
+ layout.operator("armature.delete", text="Bones")
layout.separator()
- layout.operator("armature.dissolve", text="Dissolve")
+ layout.operator("armature.dissolve", text="Dissolve Bones")
# ********** Grease Pencil Stroke menus **********
More information about the Bf-blender-cvs
mailing list