UI:
[blender-staging.git] / release / ui / buttons_scene.py
index 89945c1e5318cd8e56ee0350c3fe26947bc5834f..fa9969870433e4b2b8b2b4063487677cd31eea04 100644 (file)
@@ -13,9 +13,6 @@ class RENDER_PT_shading(RenderButtonsPanel):
                scene = context.scene
                layout = self.layout
 
-               if not scene:
-                       return
-
                rd = scene.render_data
 
                layout.column_flow()
@@ -40,9 +37,6 @@ class RENDER_PT_image(RenderButtonsPanel):
                scene = context.scene
                layout = self.layout
 
-               if not scene:
-                       return
-
                rd = scene.render_data
 
                layout.column_flow()
@@ -70,9 +64,6 @@ class RENDER_PT_antialiasing(RenderButtonsPanel):
                scene = context.scene
                layout = self.layout
 
-               if not scene:
-                       return
-
                rd = scene.render_data
 
                layout.row()
@@ -95,9 +86,6 @@ class RENDER_PT_render(RenderButtonsPanel):
                scene = context.scene
                layout = self.layout
 
-               if not scene:
-                       return
-
                rd = scene.render_data
 
                layout.row()