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:
authorCampbell Barton <ideasman42@gmail.com>2009-06-11 02:03:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-06-11 02:03:50 +0400
commit3bdcd4f738e470dd906de239e70d54f44aa0d78e (patch)
tree181fd53435e68a3f76daca5b1278d8c3dfaa09b3 /release/ui
parent1a787efd7c600e7b08774c8432e43a8ea69c941b (diff)
patch from Xavier Thomas, color balance and proxy access both need to allocate structs when enabled.
Diffstat (limited to 'release/ui')
-rw-r--r--release/ui/space_sequencer.py19
1 files changed, 15 insertions, 4 deletions
diff --git a/release/ui/space_sequencer.py b/release/ui/space_sequencer.py
index 91e54c51772..b1ee4153e42 100644
--- a/release/ui/space_sequencer.py
+++ b/release/ui/space_sequencer.py
@@ -144,6 +144,7 @@ class SEQUENCER_MT_add(bpy.types.Menu):
st = context.space_data
layout.column()
+ layout.itemO("SEQUENCER_OT_scene_strip_add", text="Scene")
layout.itemO("SEQUENCER_OT_movie_strip_add", text="Movie")
layout.item_booleanO("SEQUENCER_OT_movie_strip_add", "sound", True, text="Movie & Sound") # FFMPEG ONLY
layout.itemO("SEQUENCER_OT_image_strip_add", text="Image")
@@ -469,6 +470,16 @@ class SEQUENCER_PT_filter(SequencerButtonsPanel):
col.itemR(strip, "reverse_frames", text="Backwards")
layout.itemR(strip, "use_color_balance")
+ if strip.color_balance: # TODO - need to add this somehow
+ col = layout.row()
+
+ col.itemR(strip.color_balance, "lift")
+ col.itemR(strip.color_balance, "gamma")
+ col.itemR(strip.color_balance, "gain")
+ col = layout.row()
+ col.itemR(strip.color_balance, "inverse_lift")
+ col.itemR(strip.color_balance, "inverse_gamma")
+ col.itemR(strip.color_balance, "inverse_gain")
class SEQUENCER_PT_proxy(SequencerButtonsPanel):
__label__ = "Proxy"
@@ -496,11 +507,11 @@ class SEQUENCER_PT_proxy(SequencerButtonsPanel):
layout = self.layout
- row = layout.row()
- row.itemR(strip, "proxy_custom_directory")
+ flow = layout.column_flow()
+ flow.itemR(strip, "proxy_custom_directory")
if strip.proxy: # TODO - need to add this somehow
- row.itemR(strip.proxy, "dir")
- row.itemR(strip.proxy, "file")
+ flow.itemR(strip.proxy, "directory")
+ flow.itemR(strip.proxy, "file")
class SEQUENCER_PT_view(SequencerButtonsPanel_Output):