diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-03-21 20:45:27 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-03-21 20:45:27 +0400 |
commit | e82cd12560c39e5fe94dcf2b05855774cb6f5607 (patch) | |
tree | 81a2bae3bdec97d1e10efeda89cd52992dd4b146 /source/blender/blenkernel | |
parent | d5600a43f69f2b6d2cd1b9404dfe77b9ebe0bb3c (diff) |
Tracking objects were creating with zero scale.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/tracking.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c index 0aa3920166c..2b79f179fb7 100644 --- a/source/blender/blenkernel/intern/tracking.c +++ b/source/blender/blenkernel/intern/tracking.c @@ -2922,6 +2922,8 @@ MovieTrackingObject *BKE_tracking_new_object(MovieTracking *tracking, const char tracking->tot_object++; tracking->objectnr= BLI_countlist(&tracking->objects) - 1; + object->scale= 1.0f; + BKE_tracking_object_unique_name(tracking, object); return object; |