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-10-17 19:57:20 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-10-17 19:57:20 +0400
commit72457eb6d619f0be7770c299683a64de75880bfc (patch)
treee6e9f55d0c6c21835aff5bd6106db9f315730a88 /source/blender/editors/space_clip/space_clip.c
parent20cea882d67f8324d78abb2db9d8b5ce353630af (diff)
Camera tracking integration
=========================== Allow offset from locked position.
Diffstat (limited to 'source/blender/editors/space_clip/space_clip.c')
-rw-r--r--source/blender/editors/space_clip/space_clip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index 4a17d5a7dc0..b4d851cb72d 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -564,6 +564,9 @@ static void clip_main_area_draw(const bContext *C, ARegion *ar)
ED_clip_view_selection(sc, ar, 0);
+ sc->xof+= sc->xlockof;
+ sc->yof+= sc->ylockof;
+
if(tmpibuf)
IMB_freeImBuf(tmpibuf);
}