[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28264] trunk/blender/source/blender/ makesrna/intern/rna_space.c: Brought back negative Channel-Variables in preview header, so

Peter Schlaile peter at schlaile.de
Sun Apr 18 18:30:47 CEST 2010


Revision: 28264
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28264
Author:   schlaile
Date:     2010-04-18 18:30:46 +0200 (Sun, 18 Apr 2010)

Log Message:
-----------
Brought back negative Channel-Variables in preview header, so
that preview can show final result from inside a meta strip again.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_space.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_space.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_space.c	2010-04-18 15:30:21 UTC (rev 28263)
+++ trunk/blender/source/blender/makesrna/intern/rna_space.c	2010-04-18 16:30:46 UTC (rev 28264)
@@ -1381,7 +1381,7 @@
 	prop= RNA_def_property(srna, "display_channel", PROP_INT, PROP_NONE);
 	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, 0, 32); // MAXSEQ --- todo, move from BKE_sequencer.h
+	RNA_def_property_range(prop, -5, 32); // MAXSEQ --- todo, move from BKE_sequencer.h, allow up to 5 layers up the metastack. Should be dynamic...
 	RNA_def_property_update(prop, NC_SPACE|ND_SPACE_SEQUENCER, NULL);
 	
 	prop= RNA_def_property(srna, "draw_overexposed", PROP_INT, PROP_NONE);





More information about the Bf-blender-cvs mailing list