[Bf-blender-cvs] [3f795ec] multiview: Remove Left/Right commented out code in UI, until we handle this correctly

Dalai Felinto noreply at git.blender.org
Tue Feb 10 05:18:32 CET 2015


Commit: 3f795ec6f38c87758b14616667f4ad3051aabef5
Author: Dalai Felinto
Date:   Tue Feb 10 02:18:15 2015 -0200
Branches: multiview
https://developer.blender.org/rB3f795ec6f38c87758b14616667f4ad3051aabef5

Remove Left/Right commented out code in UI, until we handle this correctly

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

M	release/scripts/startup/bl_ui/properties_render_layer.py

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

diff --git a/release/scripts/startup/bl_ui/properties_render_layer.py b/release/scripts/startup/bl_ui/properties_render_layer.py
index 20f8bdc..18c75cc 100644
--- a/release/scripts/startup/bl_ui/properties_render_layer.py
+++ b/release/scripts/startup/bl_ui/properties_render_layer.py
@@ -172,8 +172,7 @@ class RENDERLAYER_UL_renderviews(UIList):
         # assert(isinstance(item, bpy.types.SceneRenderView)
         view = item
         if self.layout_type in {'DEFAULT', 'COMPACT'}:
-            # XXX MV remove left, right when I implement the ui names capitalized
-            if view.name in {'left', 'right', 'Left', 'Right'}:
+            if view.name in {'left', 'right'}:
                 layout.label(view.name, icon_value=icon + (not view.use))
             else:
                 layout.prop(view, "name", text="", index=index, icon_value=icon, emboss=False)




More information about the Bf-blender-cvs mailing list