diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-01 11:45:50 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-08 20:46:00 +0300 |
commit | 2ac65f6153a2da2df7cda908689bb7c1865f088d (patch) | |
tree | 8fafb849b75451ebb0ec6ba8d1c70bfbae2f31a7 /release/scripts/startup/bl_ui/space_view3d.py | |
parent | 192a99f47784277baa9eab4864bae1b4382b243c (diff) |
UI: new icon set by Andrzej Ambroz.
This is a monochrome icon set, with a more modern look and icons for
various features that did not have a proper icon before.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 5726e359f16..cc259c4c7b9 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -125,7 +125,7 @@ class VIEW3D_HT_header(Header): trans_icon = getattr(trans_orientation, "icon", "BLANK1") trans_name = getattr(trans_orientation, "name", "Orientation") else: - trans_icon = 'VISIBLE_IPO_OFF' + trans_icon = 'OBJECT_ORIGIN' trans_name = getattr(current_orientation, "name", "Orientation") row = layout.row(align=True) @@ -265,9 +265,9 @@ class VIEW3D_HT_header(Header): row.active = (shading.type in {'WIREFRAME', 'SOLID'}) or object_mode in {'EDIT'} if shading.type == 'WIREFRAME': - row.prop(shading, "show_xray_wireframe", text="", icon='ORTHO') + row.prop(shading, "show_xray_wireframe", text="", icon='XRAY') else: - row.prop(shading, "show_xray", text="", icon='ORTHO') + row.prop(shading, "show_xray", text="", icon='XRAY') row = layout.row(align=True) row.prop(shading, "type", text="", expand=True) @@ -3110,7 +3110,7 @@ class VIEW3D_MT_edit_mesh_normals(Menu): layout.label(text="Face Strength") layout.operator("mesh.mod_weighted_strength", text="Face Select", icon='FACESEL').set = False - layout.operator("mesh.mod_weighted_strength", text="Set Strength", icon='ZOOMIN').set = True + layout.operator("mesh.mod_weighted_strength", text="Set Strength", icon='ADD').set = True class VIEW3D_MT_edit_mesh_shading(Menu): @@ -3796,7 +3796,7 @@ class VIEW3D_MT_shading_pie(Menu): pie.prop_enum(view.shading, "type", value='SOLID') if context.mode == 'POSE': - pie.prop(view.overlay, "show_bone_select", icon='ORTHO') + pie.prop(view.overlay, "show_bone_select", icon='XRAY') else: xray_active = (context.mode in 'EDIT_MESH') or \ (view.shading.type in {'SOLID', 'WIREFRAME'}) @@ -3808,9 +3808,9 @@ class VIEW3D_MT_shading_pie(Menu): sub.active = False if view.shading.type == 'WIREFRAME': - sub.prop(view.shading, "show_xray_wireframe", text="Toggle X-Ray", icon='ORTHO') + sub.prop(view.shading, "show_xray_wireframe", text="Toggle X-Ray", icon='XRAY') else: - sub.prop(view.shading, "show_xray", text="Toggle X-Ray", icon='ORTHO') + sub.prop(view.shading, "show_xray", text="Toggle X-Ray", icon='XRAY') pie.prop(view.overlay, "show_overlays", text="Toggle Overlays", icon='OVERLAY') pie.prop_enum(view.shading, "type", value='MATERIAL') @@ -3854,14 +3854,14 @@ class VIEW3D_MT_snap_pie(Menu): layout = self.layout pie = layout.menu_pie() - pie.operator("view3d.snap_cursor_to_grid", text="Cursor to Grid", icon='CURSOR') + pie.operator("view3d.snap_cursor_to_grid", text="Cursor to Grid", icon='PIVOT_CURSOR') pie.operator("view3d.snap_selected_to_grid", text="Selection to Grid", icon='RESTRICT_SELECT_OFF') - pie.operator("view3d.snap_cursor_to_selected", text="Cursor to Selected", icon='CURSOR') + pie.operator("view3d.snap_cursor_to_selected", text="Cursor to Selected", icon='PIVOT_CURSOR') pie.operator("view3d.snap_selected_to_cursor", text="Selection to Cursor", icon='RESTRICT_SELECT_OFF').use_offset = False pie.operator("view3d.snap_selected_to_cursor", text="Selection to Cursor (Keep Offset)", icon='RESTRICT_SELECT_OFF').use_offset = True pie.operator("view3d.snap_selected_to_active", text="Selection to Active", icon='RESTRICT_SELECT_OFF') - pie.operator("view3d.snap_cursor_to_center", text="Cursor to Center", icon='CURSOR') - pie.operator("view3d.snap_cursor_to_active", text="Cursor to Active", icon='CURSOR') + pie.operator("view3d.snap_cursor_to_center", text="Cursor to Center", icon='PIVOT_CURSOR') + pie.operator("view3d.snap_cursor_to_active", text="Cursor to Active", icon='PIVOT_CURSOR') class VIEW3D_MT_proportional_editing_falloff_pie(Menu): @@ -4174,7 +4174,7 @@ class VIEW3D_PT_shading_options(Panel): sub.prop(shading, "shadow_intensity", text="Shadow") sub.popover( panel="VIEW3D_PT_shading_options_shadow", - icon='SCRIPTWIN', + icon='PREFERENCES', text="" ) @@ -4190,7 +4190,7 @@ class VIEW3D_PT_shading_options(Panel): sub.prop(shading, "cavity_valley_factor") sub.popover( panel="VIEW3D_PT_shading_options_ssao", - icon='SCRIPTWIN', + icon='PREFERENCES', text="" ) @@ -4590,9 +4590,9 @@ class VIEW3D_PT_overlay_edit_mesh_normals(Panel): col.active = display_all row = col.row(align=True) - row.prop(overlay, "show_vertex_normals", text="", icon='VERTEXSEL') - row.prop(overlay, "show_split_normals", text="", icon='LOOPSEL') - row.prop(overlay, "show_face_normals", text="", icon='FACESEL') + row.prop(overlay, "show_vertex_normals", text="", icon='NORMALS_VERTEX') + row.prop(overlay, "show_split_normals", text="", icon='NORMALS_VERTEX_FACE') + row.prop(overlay, "show_face_normals", text="", icon='NORMALS_FACE') sub = row.row(align=True) sub.active = overlay.show_vertex_normals or overlay.show_face_normals or overlay.show_split_normals @@ -4867,11 +4867,11 @@ class VIEW3D_PT_transform_orientations(Panel): row = layout.row() col = row.column() col.prop(scene, "transform_orientation", expand=True) - row.operator("transform.create_orientation", text="", icon='ZOOMIN', emboss=False).use = True + row.operator("transform.create_orientation", text="", icon='ADD', emboss=False).use = True if orientation: row = layout.row(align=False) - row.prop(orientation, "name", text="") + row.prop(orientation, "name", text="", icon="OBJECT_ORIGIN") row.operator("transform.delete_orientation", text="", icon='X', emboss=False) |