[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39208] branches/soc-2011-tomato/source/ blender/makesrna/intern/rna_tracking.c: Camera tracking integration

Sergey Sharybin g.ulairi at gmail.com
Tue Aug 9 14:08:46 CEST 2011


Revision: 39208
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39208
Author:   nazgul
Date:     2011-08-09 12:08:46 +0000 (Tue, 09 Aug 2011)
Log Message:
-----------
Camera tracking integration
===========================

More accurate sliding of undistortion coefficients.

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/makesrna/intern/rna_tracking.c

Modified: branches/soc-2011-tomato/source/blender/makesrna/intern/rna_tracking.c
===================================================================
--- branches/soc-2011-tomato/source/blender/makesrna/intern/rna_tracking.c	2011-08-09 10:42:39 UTC (rev 39207)
+++ branches/soc-2011-tomato/source/blender/makesrna/intern/rna_tracking.c	2011-08-09 12:08:46 UTC (rev 39208)
@@ -307,16 +307,19 @@
 	/* Radial distortion parameters */
 	prop= RNA_def_property(srna, "k1", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "k1");
+	RNA_def_property_ui_range(prop, 0, 10, .1, 3);
 	RNA_def_property_ui_text(prop, "K1", "");
 	RNA_def_property_update(prop, NC_MOVIECLIP|NA_EDITED, NULL);
 
 	prop= RNA_def_property(srna, "k2", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "k2");
+	RNA_def_property_ui_range(prop, 0, 10, .1, 3);
 	RNA_def_property_ui_text(prop, "K2", "");
 	RNA_def_property_update(prop, NC_MOVIECLIP|NA_EDITED, NULL);
 
 	prop= RNA_def_property(srna, "k3", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "k3");
+	RNA_def_property_ui_range(prop, 0, 10, .1, 3);
 	RNA_def_property_ui_text(prop, "K3", "");
 	RNA_def_property_update(prop, NC_MOVIECLIP|NA_EDITED, NULL);
 }




More information about the Bf-blender-cvs mailing list