Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 3,796 Lines • ▼ Show 20 Lines | def draw(self, _context): | ||||
| layout.operator("mesh.flip_normals", text="Flip") | layout.operator("mesh.flip_normals", text="Flip") | ||||
| layout.operator("mesh.normals_make_consistent", text="Recalculate Outside").inside = False | layout.operator("mesh.normals_make_consistent", text="Recalculate Outside").inside = False | ||||
| layout.operator("mesh.normals_make_consistent", text="Recalculate Inside").inside = True | layout.operator("mesh.normals_make_consistent", text="Recalculate Inside").inside = True | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("mesh.set_normals_from_faces", text="Set From Faces") | layout.operator("mesh.set_normals_from_faces", text="Set From Faces") | ||||
| layout.operator_context = 'INVOKE_DEFAULT' | layout.operator_context = 'INVOKE_REGION_WIN' | ||||
| layout.operator("transform.rotate_normal", text="Rotate...") | layout.operator("transform.rotate_normal", text="Rotate...") | ||||
| layout.operator("mesh.point_normals", text="Point to Target...") | layout.operator("mesh.point_normals", text="Point to Target...") | ||||
| layout.operator_context = 'EXEC_DEFAULT' | layout.operator_context = 'EXEC_DEFAULT' | ||||
| layout.operator("mesh.merge_normals", text="Merge") | layout.operator("mesh.merge_normals", text="Merge") | ||||
| layout.operator("mesh.split_normals", text="Split") | layout.operator("mesh.split_normals", text="Split") | ||||
| layout.menu("VIEW3D_MT_edit_mesh_normals_average", text="Average") | layout.menu("VIEW3D_MT_edit_mesh_normals_average", text="Average") | ||||
| ▲ Show 20 Lines • Show All 2,912 Lines • Show Last 20 Lines | |||||