[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50173] trunk/blender/source/blender/ makesrna/intern/rna_sequencer.c: Sequencer: allow negative bright/contrast
Sergey Sharybin
sergey.vfx at gmail.com
Fri Aug 24 11:44:47 CEST 2012
Revision: 50173
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50173
Author: nazgul
Date: 2012-08-24 09:44:46 +0000 (Fri, 24 Aug 2012)
Log Message:
-----------
Sequencer: allow negative bright/contrast
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 2012-08-24 09:09:33 UTC (rev 50172)
+++ trunk/blender/source/blender/makesrna/intern/rna_sequencer.c 2012-08-24 09:44:46 UTC (rev 50173)
@@ -2354,11 +2354,13 @@
prop = RNA_def_property(srna, "bright", PROP_FLOAT, PROP_UNSIGNED);
RNA_def_property_float_sdna(prop, NULL, "bright");
+ RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);
RNA_def_property_ui_text(prop, "Bright", "");
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SequenceModifier_update");
prop = RNA_def_property(srna, "contrast", PROP_FLOAT, PROP_UNSIGNED);
RNA_def_property_float_sdna(prop, NULL, "contrast");
+ RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);
RNA_def_property_ui_text(prop, "Contrast", "");
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SequenceModifier_update");
}
More information about the Bf-blender-cvs
mailing list