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>2011-08-09 19:12:20 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-08-09 19:12:20 +0400
commitdda38732d15ffc77e6a2bec861f859212c91f463 (patch)
tree2985c9a8bc64b7930324d733a82a0c4c8c6af83e /source/blender/editors/space_clip/space_clip.c
parent60585431698206c3ac6ba42854957622d5c0aeb7 (diff)
Camera tracking integration
=========================== Changes into sensor size use case. There was problem with vertical sensor size which can't actually affect on things due to we've got fixed image resolution. So as soon horizontal size gets defined, both of sensor height and vertical FOV is known and exposing it into UI makes things difficult to understand. That's why vertical sensor size was dropped. Also added pixel aspect to camera settings fo clip editor. Solver will sue this value rather than value from display aspect ratio. This pixel aspect would be copied to render settings after solving so things should match now between footage, solving anf footage.
Diffstat (limited to 'source/blender/editors/space_clip/space_clip.c')
-rw-r--r--source/blender/editors/space_clip/space_clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index 558a53a88d9..ef33241bd51 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -478,7 +478,7 @@ static void movieclip_main_area_set_view2d(SpaceClip *sc, ARegion *ar)
h= height;
if(clip)
- h*= clip->aspy/clip->aspx;
+ h*= clip->aspy/clip->aspx/clip->tracking.camera.pixel_aspect;
winx= ar->winrct.xmax - ar->winrct.xmin + 1;
winy= ar->winrct.ymax - ar->winrct.ymin + 1;