2.6 UI:
authorThomas Dinges <blender@dingto.org>
Mon, 7 Nov 2011 14:34:56 +0000 (14:34 +0000)
committerThomas Dinges <blender@dingto.org>
Mon, 7 Nov 2011 14:34:56 +0000 (14:34 +0000)
* Minor tweaks after tomato merge, rest of Tomato UI code is excellent. :)

release/scripts/startup/bl_ui/properties_object_constraint.py
release/scripts/startup/bl_ui/properties_scene.py

index 4def354..c493124 100644 (file)
@@ -761,8 +761,7 @@ class ConstraintButtonsPanel():
 
         layout.prop(con, "track")
 
-        row = layout.row()
-        row.prop(con, "reference", expand=True)
+        layout.row().prop(con, "reference", expand=True)
 
         layout.operator("clip.constraint_to_fcurve")
 
index 6e28c8b..86880b9 100644 (file)
@@ -42,6 +42,7 @@ class SCENE_PT_scene(SceneButtonsPanel, Panel):
 
         layout.prop(scene, "camera")
         layout.prop(scene, "background_set", text="Background")
+        layout.prop(scene, "active_clip", text="Active Clip")
 
 
 class SCENE_PT_audio(SceneButtonsPanel, Panel):
@@ -218,16 +219,6 @@ class SCENE_PT_simplify(SceneButtonsPanel, Panel):
         col.prop(rd, "simplify_ao_sss", text="AO and SSS")
 
 
-class SCENE_PT_movie_clip(SceneButtonsPanel, Panel):
-    bl_label = "Movie Clip"
-
-    def draw(self, context):
-        layout = self.layout
-        scene = context.scene
-
-        layout.prop(scene, "active_clip", text="Active Clip")
-
-
 class SCENE_PT_custom_props(SceneButtonsPanel, PropertyPanel, Panel):
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
     _context_path = "scene"