Commit: 0c8cf8fe7f185cf41214b8f616145c2dcdbb75b0
Author: Brecht Van Lommel
Date:   Fri Nov 9 11:20:45 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB0c8cf8fe7f185cf41214b8f616145c2dcdbb75b0

Fix use of wrong icon IDs.

===================================================================

M       release/scripts/startup/bl_ui/space_topbar.py
M       release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_topbar.py 
b/release/scripts/startup/bl_ui/space_topbar.py
index c6eb047558a..ac6bd4002ca 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -626,7 +626,7 @@ class TOPBAR_MT_file_new(Menu):
             if show_more:
                 paths = paths[:splash_limit - 2]
         elif use_more:
-            icon = 'FILE'
+            icon = 'FILE_NEW'
             paths = paths[splash_limit - 2:]
             show_more = False
         else:
diff --git a/release/scripts/startup/bl_ui/space_view3d.py 
b/release/scripts/startup/bl_ui/space_view3d.py
index ab654165960..873674ee092 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4023,7 +4023,7 @@ class VIEW3D_PT_object_type_visibility(Panel):
             attr_v = "show_object_viewport_" f"{attr:s}"
             attr_s = "show_object_select_" f"{attr:s}"
 
-            icon_v = 'VISIBLE_IPO_ON' if getattr(view, attr_v) else 
'VISIBLE_IPO_OFF'
+            icon_v = 'HIDE_OFF' if getattr(view, attr_v) else 'HIDE_ON'
             icon_s = 'RESTRICT_SELECT_OFF' if getattr(view, attr_s) else 
'RESTRICT_SELECT_ON'
 
             row = col.row(align=True)

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to