Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_scene.py
| Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | class SCENE_PT_scene(SceneButtonsPanel, Panel): | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| scene = context.scene | scene = context.scene | ||||
| layout.prop(scene, "camera") | layout.prop(scene, "camera") | ||||
| layout.prop(scene, "background_set", text="Background") | layout.prop(scene, "background_set", text="Background") | ||||
| if context.scene.render.engine != 'BLENDER_GAME': | if context.engine != 'BLENDER_GAME': | ||||
| layout.prop(scene, "active_clip", text="Active Clip") | layout.prop(scene, "active_clip", text="Active Clip") | ||||
| class SCENE_PT_unit(SceneButtonsPanel, Panel): | class SCENE_PT_unit(SceneButtonsPanel, Panel): | ||||
| bl_label = "Units" | bl_label = "Units" | ||||
| COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME', 'BLENDER_CLAY', 'BLENDER_EEVEE'} | COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME', 'BLENDER_CLAY', 'BLENDER_EEVEE'} | ||||
| def draw(self, context): | def draw(self, context): | ||||
| ▲ Show 20 Lines • Show All 381 Lines • Show Last 20 Lines | |||||