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-09-07 12:09:50 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-07 12:09:50 +0400
commite2db9a9ee13c5bdcb6dfd0a72b62d66387489f9c (patch)
tree99c0e13c21b653e083de98be58fef463a243f0b2 /source/blender/editors/space_clip/space_clip.c
parent6cafb95ee129b66fbefe384f044b1b9154d70ddb (diff)
Camera tracking integration
=========================== - Added python method MovieClip.tracking.tracs.add() to add new track. Marker for this track is getting created on position (0, 0) and it's keyframed to specified frame number. - Implemented rotation 2D stabilization. It's supposed to be used in the following workflow: * Set tracks which defines location stabilization. * Choose one track which defines orientation. * Vector which connects median point of location and track used for rotation would have the same orientation along all frames. 2D stabilization with rotation can be a bit slow. - Some internal refactor and code clean-up.
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, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index 7bd09fd1e74..c3da4027284 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -302,6 +302,7 @@ static void clip_operatortypes(void)
WM_operatortype_append(CLIP_OT_stabilize_2d_add);
WM_operatortype_append(CLIP_OT_stabilize_2d_remove);
WM_operatortype_append(CLIP_OT_stabilize_2d_select);
+ WM_operatortype_append(CLIP_OT_stabilize_2d_set_rotation);
/* clean-up */
WM_operatortype_append(CLIP_OT_clear_track_path);
@@ -555,7 +556,7 @@ static void clip_main_area_draw(const bContext *C, ARegion *ar)
ImBuf *tmpibuf= NULL;
if(clip && clip->tracking.stabilization.flag&TRACKING_2D_STABILIZATION) {
- tmpibuf= ED_space_clip_acquire_stable_buffer(sc, NULL, NULL);
+ tmpibuf= ED_space_clip_acquire_stable_buffer(sc, NULL, NULL, NULL);
}
ED_clip_view_selection(sc, ar, 0);