Skip to content

Commit

Permalink
Object Mode - Object menu - remove double menu entry Make Single user
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinerBforartists committed Jul 3, 2017
1 parent 3ad6c2b commit f2a6db8
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions release/scripts/startup/bl_ui/space_view3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,6 @@ def draw(self, context):
layout.operator("object.delete", text="Delete...", icon = "DELETE").use_global = False
layout.menu("VIEW3D_MT_make_links", text="Make Links...")
layout.operator("object.make_dupli_face", icon = "MAKEDUPLIFACE")
layout.menu("VIEW3D_MT_make_single_user")

layout.separator()

Expand Down Expand Up @@ -1864,33 +1863,6 @@ def draw(self, context):
layout.operator("object.hide_unselected", text="Hide Unselected", icon = "HIDE_UNSELECTED") # hide unselected with new tooltip


class VIEW3D_MT_make_single_user(Menu):
bl_label = "Make Single User"

def draw(self, context):
layout = self.layout

props = layout.operator("object.make_single_user", text="Object", icon='MAKE_SINGLE_USER')
props.object = True
props.obdata = props.material = props.texture = props.animation = False

props = layout.operator("object.make_single_user", text="Object & Data", icon='MAKE_SINGLE_USER')
props.object = props.obdata = True
props.material = props.texture = props.animation = False

props = layout.operator("object.make_single_user", text="Object & Data & Materials+Tex", icon='MAKE_SINGLE_USER')
props.object = props.obdata = props.material = props.texture = True
props.animation = False

props = layout.operator("object.make_single_user", text="Materials+Tex", icon='MAKE_SINGLE_USER')
props.material = props.texture = True
props.object = props.obdata = props.animation = False

props = layout.operator("object.make_single_user", text="Object Animation", icon='MAKE_SINGLE_USER')
props.animation = True
props.object = props.obdata = props.material = props.texture = False


class VIEW3D_MT_make_links(Menu):
bl_label = "Make Links"

Expand Down

0 comments on commit f2a6db8

Please sign in to comment.