Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-15 20:43:03 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-15 20:43:03 +0400
commit9059639df40f2aed918d0005e3e96cc13a8d3d4f (patch)
treeb74f9a1115573307aeb14c81baa9d4be14c8f506 /release
parent314b14301fd565b93bbb75697c29b109eacf813d (diff)
2.5: Screen/Scene New/Delete operators.
Implementation Note: * Moved the scene copy/unlink code back into blenkernel, with the exception of the copy single user stuff which is still in object_edit.c. * Uses SCREENDELETE notifier like SCREENBROWSE, seems only clean way to do this now.
Diffstat (limited to 'release')
-rw-r--r--release/ui/space_info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/ui/space_info.py b/release/ui/space_info.py
index f07234a4b00..af2dac02ccb 100644
--- a/release/ui/space_info.py
+++ b/release/ui/space_info.py
@@ -22,8 +22,8 @@ class INFO_HT_header(bpy.types.Header):
row.itemM("INFO_MT_render")
row.itemM("INFO_MT_help")
- layout.template_ID(context.window, "screen") #, new="screen.new", open="scene.unlink")
- layout.template_ID(context.screen, "scene") #, new="screen.new", unlink="scene.unlink")
+ layout.template_ID(context.window, "screen", new="screen.new", unlink="screen.delete")
+ layout.template_ID(context.screen, "scene", new="scene.new", unlink="scene.delete")
if rd.multiple_engines:
layout.itemR(rd, "engine", text="")