Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "Set Flow" menu to "Edge Flow" #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def menu_func_vertices(self, context):
layout.operator(op_set_vertex_curve.SetVertexCurveOp.bl_idname, text='Set Vertex Curve')


class VIEW3D_MT_edit_mesh_set_flow(Menu):
bl_label = "Set Flow"
class VIEW3D_MT_edit_mesh_edge_flow(Menu):
bl_label = "Edge Flow"

def draw(self, context):
layout = self.layout
Expand All @@ -75,7 +75,7 @@ def menu_func_context_menu(self, context):

mesh_select_mode = context.scene.tool_settings.mesh_select_mode[:3]
if mesh_select_mode == (True, False, False) or mesh_select_mode == (False, True, False):
self.layout.menu("VIEW3D_MT_edit_mesh_set_flow")
self.layout.menu("VIEW3D_MT_edit_mesh_edge_flow")
self.layout.separator()


Expand All @@ -85,7 +85,7 @@ def menu_func_context_menu(self, context):
op_set_edge_linear.SetEdgeLinearOP,
op_set_edge_curve.SetEdgeCurveOP,
op_set_vertex_curve.SetVertexCurveOp,
VIEW3D_MT_edit_mesh_set_flow,
VIEW3D_MT_edit_mesh_edge_flow,
]

def register():
Expand Down