Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-17 12:19:14 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-17 12:19:14 +0400
commit026bbecb8fb3e09b6144a580f101432497d12fe2 (patch)
tree35e102ba066b36c9d0f818382e14958cb4934d9b
parent781b4cafbd22101eb7ced4e2db1c485eafb53e81 (diff)
parent7274bea74de095e4eb4d7a2bf410f22e1c81654b (diff)
Camera tracking: fixed default value for pixel aspect which wasn't 1.0
-- svn merge -r44147:44148 ^/branches/soc-2011-tomato
-rw-r--r--source/blender/makesrna/intern/rna_tracking.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_tracking.c b/source/blender/makesrna/intern/rna_tracking.c
index ba4e5199f73..2d6a568c79d 100644
--- a/source/blender/makesrna/intern/rna_tracking.c
+++ b/source/blender/makesrna/intern/rna_tracking.c
@@ -775,6 +775,7 @@ static void rna_def_trackingCamera(BlenderRNA *brna)
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");
}