[Bf-blender-cvs] [e652f78] master: Fix T43646: VSE preview allows displaying channels down to -5

Julian Eisel noreply at git.blender.org
Fri Feb 13 11:56:24 CET 2015


Commit: e652f781a33b3b31fa95b543bf4003ff7b0c57d6
Author: Julian Eisel
Date:   Fri Feb 13 11:53:29 2015 +0100
Branches: master
https://developer.blender.org/rBe652f781a33b3b31fa95b543bf4003ff7b0c57d6

Fix T43646: VSE preview allows displaying channels down to -5

Maybe just another typo (tm). (Checked with @psy-fi)

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

M	source/blender/makesrna/intern/rna_space.c

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

diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 24c80cc..2dc0eb2 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -2890,7 +2890,7 @@ static void rna_def_space_sequencer(BlenderRNA *brna)
 	RNA_def_property_int_sdna(prop, NULL, "chanshown");
 	RNA_def_property_ui_text(prop, "Display Channel",
 	                         "The channel number shown in the image preview. 0 is the result of all strips combined");
-	RNA_def_property_range(prop, -5, MAXSEQ);
+	RNA_def_property_range(prop, 1, MAXSEQ);
 	RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL);
 
 	prop = RNA_def_property(srna, "preview_channels", PROP_ENUM, PROP_NONE);




More information about the Bf-blender-cvs mailing list