Commit: b04b933acf262130b97633786a8325d7c6d4c15c
Author: Campbell Barton
Date: Thu May 24 18:43:16 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBb04b933acf262130b97633786a8325d7c6d4c15c
UI: use icons in render menu
===================================================================
M release/scripts/startup/bl_ui/space_topbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_topbar.py
b/release/scripts/startup/bl_ui/space_topbar.py
index ca954056109..7fc36d5d447 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -563,17 +563,17 @@ class INFO_MT_render(Menu):
layout.separator()
- layout.prop_menu_enum(rd, "display_mode", text="Display Mode")
+ layout.prop_menu_enum(rd, "display_mode", text="Display Mode",
icon='IMAGE_COL')
layout.prop(rd, "use_lock_interface", text="Lock Interface")
layout.separator()
- props = layout.operator("render.opengl", text="OpenGL Render Image")
+ props = layout.operator("render.opengl", text="OpenGL Render Image",
icon='RENDER_STILL')
props.view_context = False
- props = layout.operator("render.opengl", text="OpenGL Render
Animation")
+ props = layout.operator("render.opengl", text="OpenGL Render
Animation", icon='RENDER_ANIMATION')
props.view_context = False
props.animation = True
- layout.menu("INFO_MT_opengl_render")
+ layout.menu("INFO_MT_opengl_render", icon='SETTINGS')
layout.separator()
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs