Skip to content

Commit

Permalink
Mesh Edit - Vertices - Remove double menu entry Mark Edges
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinerBforartists committed Apr 6, 2017
1 parent 5ecf564 commit 846120c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion release/scripts/addons/bforartists_toolbar_settings.py
Expand Up @@ -56,7 +56,6 @@ class bforartists_toolbar_settings(AddonPreferences):
# meshedit

mesh_vertices_splitconnect = BoolProperty(name="Vertices Splitconnect", default=True, description = "Display the the Mesh Edit Vertices Split / Connect\nMesh Object, Edit Mode", )
mesh_vertices_sharpedges = BoolProperty(name="Vertices Sharp Edges", default=False, description = "Display the the Mesh Edit Vertices Sharp Edges Toolbar\nMesh Object, Edit Mode", )
mesh_vertices_misc = BoolProperty(name="Vertices Misc", default=False, description = "Display the the Mesh Edit Vertices Misc Toolbar with misc tools\nMesh Object, Edit Mode", )

mesh_edges_subdiv = BoolProperty(name="Edges Subdiv", default=False, description = "Display the the Mesh Edit Edges Subdiv Toolbar\nMesh Object, Edit Mode", )
Expand Down
10 changes: 0 additions & 10 deletions release/scripts/startup/bl_ui/space_toolbar.py
Expand Up @@ -296,7 +296,6 @@ def draw(self, context):
addon_prefs = user_preferences.addons["bforartists_toolbar_settings"].preferences

layout.prop(addon_prefs, "mesh_vertices_splitconnect")
layout.prop(addon_prefs, "mesh_vertices_sharpedges")
layout.prop(addon_prefs, "mesh_vertices_misc")

layout.prop(addon_prefs, "mesh_edges_subdiv")
Expand Down Expand Up @@ -352,15 +351,6 @@ def draw_menus(layout, context):
row.operator("mesh.vert_connect_path", text = "", icon = "VERTEXCONNECTPATH")
row.operator("mesh.vert_connect", text = "", icon = "VERTEXCONNECT")

if addon_prefs.mesh_vertices_sharpedges:

row = layout.row(align=True)

row.operator("mesh.mark_sharp", text="", icon = "MARKSHARPEDGES").use_verts = True
props = row.operator("mesh.mark_sharp", text="", icon = "CLEARSHARPEDGES")
props.use_verts = True
props.clear = True

if addon_prefs.mesh_vertices_misc:

row = layout.row(align=True)
Expand Down
7 changes: 0 additions & 7 deletions release/scripts/startup/bl_ui/space_view3d.py
Expand Up @@ -2685,13 +2685,6 @@ def draw(self, context):

layout.separator()

layout.operator("mesh.mark_sharp", text="Mark Sharp Edges", icon = "MARKSHARPEDGES").use_verts = True
props = layout.operator("mesh.mark_sharp", text="Clear Sharp Edges", icon = "CLEARSHARPEDGES")
props.use_verts = True
props.clear = True

layout.separator()

if with_bullet:
layout.operator("mesh.convex_hull", icon = "CONVEXHULL")

Expand Down

0 comments on commit 846120c

Please sign in to comment.