[Bf-blender-cvs] [ed5515d] multiview: From review: only show "Set Stereo 3D" when multiview is on
Dalai Felinto
noreply at git.blender.org
Thu Apr 2 20:13:32 CEST 2015
Commit: ed5515dec38bd9fd70cc415b8b3e5c30f982e805
Author: Dalai Felinto
Date: Thu Apr 2 15:13:18 2015 -0300
Branches: multiview
https://developer.blender.org/rBed5515dec38bd9fd70cc415b8b3e5c30f982e805
>From review: only show "Set Stereo 3D" when multiview is on
===================================================================
M release/scripts/startup/bl_ui/space_info.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py
index 8c9cd9f..48a1b28 100644
--- a/release/scripts/startup/bl_ui/space_info.py
+++ b/release/scripts/startup/bl_ui/space_info.py
@@ -282,8 +282,9 @@ class INFO_MT_window(Menu):
layout.separator()
layout.operator("wm.console_toggle", icon='CONSOLE')
- layout.separator()
- layout.operator("wm.set_stereo_3d", icon='CAMERA_STEREO')
+ if context.scene.render.use_multiview:
+ layout.separator()
+ layout.operator("wm.set_stereo_3d", icon='CAMERA_STEREO')
class INFO_MT_help(Menu):
More information about the Bf-blender-cvs
mailing list