[Bf-blender-cvs] [42dcb1090be] master: VSE: Use color picker for color strip.
Peter Fog
noreply at git.blender.org
Mon Jun 1 05:46:59 CEST 2020
Commit: 42dcb1090be01bd7abf9f1a6b0a3753e9bf404af
Author: Peter Fog
Date: Mon Jun 1 05:17:20 2020 +0200
Branches: master
https://developer.blender.org/rB42dcb1090be01bd7abf9f1a6b0a3753e9bf404af
VSE: Use color picker for color strip.
Reviewed By: billreynish, ISS
Differential Revision: https://developer.blender.org/D6114
===================================================================
M release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index d30f75c06ff..7cb8c1d7ca2 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -1045,7 +1045,8 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
strip_type = strip.type
if strip_type == 'COLOR':
- layout.prop(strip, "color")
+ layout.template_color_picker(strip, "color", value_slider=True, cubic=True)
+ layout.prop(strip, "color", text="")
elif strip_type == 'WIPE':
col = layout.column()
More information about the Bf-blender-cvs
mailing list