Bugfix #25891
authorTon Roosendaal <ton@blender.org>
Tue, 1 Feb 2011 13:35:21 +0000 (13:35 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 1 Feb 2011 13:35:21 +0000 (13:35 +0000)
Info header: option to switch scenes or add new ones has to be hidden
for "full screen" mode. Current full-screen code doesn't allow to
browse screens or switch scenes nicely.

release/scripts/ui/space_info.py

index dda21dea84e659c8d2e8e7c1e4129ce51a74d5d6..9881cb55692801521c2f06fcd212265c7b3a8b1b 100644 (file)
@@ -50,8 +50,7 @@ class INFO_HT_header(bpy.types.Header):
             layout.separator()
         else:
             layout.template_ID(context.window, "screen", new="screen.new", unlink="screen.delete")
-
-        layout.template_ID(context.screen, "scene", new="scene.new", unlink="scene.delete")
+            layout.template_ID(context.screen, "scene", new="scene.new", unlink="scene.delete")
 
         layout.separator()