[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44148] branches/soc-2011-tomato/source/ blender/makesrna/intern/rna_tracking.c: Tomato: fixed default value for pixel aspect.

Sergey Sharybin sergey.vfx at gmail.com
Thu Feb 16 14:14:51 CET 2012


Revision: 44148
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44148
Author:   nazgul
Date:     2012-02-16 13:14:49 +0000 (Thu, 16 Feb 2012)
Log Message:
-----------
Tomato: fixed default value for pixel aspect.

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	2012-02-16 13:14:28 UTC (rev 44147)
+++ branches/soc-2011-tomato/source/blender/makesrna/intern/rna_tracking.c	2012-02-16 13:14:49 UTC (rev 44148)
@@ -775,6 +775,7 @@
 	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
 	RNA_def_property_range(prop, 0.1f, 5000.0f);
 	RNA_def_property_ui_range(prop, 0.1f, 5000.0f, 1, 2);
+	RNA_def_property_float_default(prop, 1.0f);
 	RNA_def_property_ui_text(prop, "Pixel Aspect Ratio", "Pixel aspect ratio");
 	RNA_def_property_update(prop, NC_MOVIECLIP|ND_DISPLAY, "rna_tracking_flushUpdate");
 }




More information about the Bf-blender-cvs mailing list