Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_scene.py
| Context not available. | |||||
| bl_context = "scene" | bl_context = "scene" | ||||
| class SCENE_PT_context_scene(SceneButtonsPanel, Panel): | |||||
| bl_label = "" | |||||
| bl_options = {'HIDE_HEADER'} | |||||
| def draw(self, context): | |||||
| layout = self.layout | |||||
| window = context.window | |||||
| screen = context.screen | |||||
| scene = window.scene | |||||
| layout.template_ID(window, "scene", new="scene.new", unlink="scene.delete") | |||||
| class SCENE_PT_scene(SceneButtonsPanel, Panel): | class SCENE_PT_scene(SceneButtonsPanel, Panel): | ||||
| bl_label = "Scene" | bl_label = "Scene" | ||||
| Context not available. | |||||
| classes = ( | classes = ( | ||||
| SCENE_UL_keying_set_paths, | SCENE_UL_keying_set_paths, | ||||
| SCENE_PT_context_scene, | |||||
| SCENE_PT_scene, | SCENE_PT_scene, | ||||
| SCENE_PT_unit, | SCENE_PT_unit, | ||||
| SCENE_PT_physics, | SCENE_PT_physics, | ||||
| Context not available. | |||||