forked from bartvdbraak/blender
Added support for Feestyle edge/face marks in the 3D view window in Cycles.
This commit is contained in:
parent
4bb81f625e
commit
b941ab972d
@ -2223,7 +2223,7 @@ class VIEW3D_MT_edit_mesh_edges(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
if with_freestyle and not scene.render.use_shading_nodes:
|
||||
if with_freestyle:
|
||||
layout.operator("mesh.mark_freestyle_edge").clear = False
|
||||
layout.operator("mesh.mark_freestyle_edge", text="Clear Freestyle Edge").clear = True
|
||||
layout.separator()
|
||||
@ -2270,7 +2270,7 @@ class VIEW3D_MT_edit_mesh_faces(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
if with_freestyle and not scene.render.use_shading_nodes:
|
||||
if with_freestyle:
|
||||
layout.operator("mesh.mark_freestyle_face").clear = False
|
||||
layout.operator("mesh.mark_freestyle_face", text="Clear Freestyle Face").clear = True
|
||||
layout.separator()
|
||||
@ -2934,7 +2934,7 @@ class VIEW3D_PT_view3d_meshdisplay(Panel):
|
||||
col.prop(mesh, "show_edge_seams", text="Seams")
|
||||
col.prop(mesh, "show_edge_sharp", text="Sharp", text_ctxt=i18n_contexts.plural)
|
||||
col.prop(mesh, "show_edge_bevel_weight", text="Bevel")
|
||||
if with_freestyle and not scene.render.use_shading_nodes:
|
||||
if with_freestyle:
|
||||
col.prop(mesh, "show_freestyle_edge_marks", text="Edge Marks")
|
||||
col.prop(mesh, "show_freestyle_face_marks", text="Face Marks")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user