[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30005] trunk/blender/source/blender/ makesrna/intern/rna_sequencer.c: change the range for sequencer lift/gamma/ gain to be 2.0 max

Campbell Barton ideasman42 at gmail.com
Mon Jul 5 23:43:46 CEST 2010


Revision: 30005
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30005
Author:   campbellbarton
Date:     2010-07-05 23:43:46 +0200 (Mon, 05 Jul 2010)

Log Message:
-----------
change the range for sequencer lift/gamma/gain to be 2.0 max

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

Modified: trunk/blender/source/blender/makesrna/intern/rna_sequencer.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_sequencer.c	2010-07-05 19:59:37 UTC (rev 30004)
+++ trunk/blender/source/blender/makesrna/intern/rna_sequencer.c	2010-07-05 21:43:46 UTC (rev 30005)
@@ -586,14 +586,17 @@
 
 	prop= RNA_def_property(srna, "lift", PROP_FLOAT, PROP_COLOR);
 	RNA_def_property_ui_text(prop, "Lift", "Color balance lift (shadows)");
+	RNA_def_property_ui_range(prop, 0, 2, 0.1, 3);
 	RNA_def_property_update(prop, NC_SCENE|ND_SEQUENCER, "rna_Sequence_update");
 	
 	prop= RNA_def_property(srna, "gamma", PROP_FLOAT, PROP_COLOR);
 	RNA_def_property_ui_text(prop, "Gamma", "Color balance gamma (midtones)");
+	RNA_def_property_ui_range(prop, 0, 2, 0.1, 3);
 	RNA_def_property_update(prop, NC_SCENE|ND_SEQUENCER, "rna_Sequence_update");
 	
 	prop= RNA_def_property(srna, "gain", PROP_FLOAT, PROP_COLOR);
 	RNA_def_property_ui_text(prop, "Gain", "Color balance gain (highlights)");
+	RNA_def_property_ui_range(prop, 0, 2, 0.1, 3);
 	RNA_def_property_update(prop, NC_SCENE|ND_SEQUENCER, "rna_Sequence_update");
 	
 	prop= RNA_def_property(srna, "inverse_gain", PROP_BOOLEAN, PROP_NONE);





More information about the Bf-blender-cvs mailing list