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

Julian Eisel noreply at git.blender.org
Fri Feb 13 13:59:46 CET 2015


Commit: ef2f31028edefde733c07df80c8a356cdcfa1423
Author: Julian Eisel
Date:   Fri Feb 13 13:57:48 2015 +0100
Branches: master
https://developer.blender.org/rBef2f31028edefde733c07df80c8a356cdcfa1423

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

This reverts commit e652f781a33b3b31fa95b543bf4003ff7b0c57d6.

@schlaile, mentioned in T43646 that this was an intended feature. Checked git
history and it's seems like he's right.

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

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 2dc0eb2..24c80cc 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, 1, MAXSEQ);
+	RNA_def_property_range(prop, -5, 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