Skip to content
Browse files

Port to 2.78 - 0.4.2 changes - Fixed some problems with the former is…

…sue Select menu refinements. Added a missing tooltip class.

  • Loading branch information...
ReinerBforartists committed Jan 31, 2017
1 parent 1250d26 commit b737208678e0d4d8f56d15f65a3afa9b6db675b8
Showing with 11 additions and 0 deletions.
  1. +11 −0 release/scripts/startup/bl_ui/
@@ -669,6 +669,17 @@ def draw(self, context):


# Workaround to separate the tooltips
class VIEW3D_MT_select_pose_inverse(bpy.types.Operator):
"""Inverse\nInverts the current selection """ # blender will use this as a tooltip for menu items and buttons.
bl_idname = "pose.select_all_inverse" # unique identifier for buttons and menu items to reference.
bl_label = "Inverse" # display name in the interface.
bl_options = {'REGISTER', 'UNDO'} # enable undo for the operator.

def execute(self, context): # execute() is called by blender when running the operator.
bpy.ops.pose.select_all(action = 'INVERT')
return {'FINISHED'}

class VIEW3D_MT_select_pose(Menu):
bl_label = "Select"

0 comments on commit b737208

Please sign in to comment.
You can’t perform that action at this time.