[Bf-blender-cvs] [7553a8c] master: Fix bad 'COLOR' replacement in recent UI refactor.

Bastien Montagne noreply at git.blender.org
Wed Nov 12 12:41:48 CET 2014


Commit: 7553a8c1957bf84b77c94393b33d5d75b02678be
Author: Bastien Montagne
Date:   Wed Nov 12 12:40:53 2014 +0100
Branches: master
https://developer.blender.org/rB7553a8c1957bf84b77c94393b33d5d75b02678be

Fix bad 'COLOR' replacement in recent UI refactor.

===================================================================

M	source/blender/editors/space_sequencer/sequencer_add.c

===================================================================

diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c
index 07daaa8..a94ce52 100644
--- a/source/blender/editors/space_sequencer/sequencer_add.c
+++ b/source/blender/editors/space_sequencer/sequencer_add.c
@@ -923,5 +923,6 @@ void SEQUENCER_OT_effect_strip_add(struct wmOperatorType *ot)
 	                               WM_FILESEL_FILEPATH | WM_FILESEL_RELPATH, FILE_DEFAULTDISPLAY);
 	sequencer_generic_props__internal(ot, SEQPROP_STARTFRAME | SEQPROP_ENDFRAME);
 	RNA_def_enum(ot->srna, "type", sequencer_prop_effect_types, SEQ_TYPE_CROSS, "Type", "Sequencer effect type");
-	RNA_def_float_vector(ot->srna, "color", 3, NULL, 0.0f, 1.0f, "Color", "Initialize the strip with this color (only used when type='UI_BTYPE_COLOR')", 0.0f, 1.0f);
+	RNA_def_float_vector(ot->srna, "color", 3, NULL, 0.0f, 1.0f, "Color",
+	                     "Initialize the strip with this color (only used when type='COLOR')", 0.0f, 1.0f);
 }




More information about the Bf-blender-cvs mailing list