Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 2,879 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| props = layout.operator("mesh.mark_sharp", text="Clear Sharp from Vertices") | props = layout.operator("mesh.mark_sharp", text="Clear Sharp from Vertices") | ||||
| props.use_verts = True | props.use_verts = True | ||||
| props.clear = True | props.clear = True | ||||
| layout.separator() | layout.separator() | ||||
| layout.separator() | layout.separator() | ||||
| if with_freestyle: | #if with_freestyle: we still presere freestyle mark functions. | ||||
| layout.operator("mesh.mark_freestyle_edge").clear = False | layout.operator("mesh.mark_freestyle_edge").clear = False | ||||
| layout.operator("mesh.mark_freestyle_edge", text="Clear Freestyle Edge").clear = True | layout.operator("mesh.mark_freestyle_edge", text="Clear Freestyle Edge").clear = True | ||||
| layout.separator() | layout.separator() | ||||
| class VIEW3D_MT_edit_mesh_edges(Menu): | class VIEW3D_MT_edit_mesh_edges(Menu): | ||||
| bl_label = "Edge" | bl_label = "Edge" | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| ▲ Show 20 Lines • Show All 1,624 Lines • Show Last 20 Lines | |||||