diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-09-10 16:46:18 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-09-10 16:46:18 +0400 |
commit | e72c6f191f296ee772562b00b5de72688ca6f4cf (patch) | |
tree | 0c450351feed5bbaeee8550632fab22466bb0f04 /source/blender/makesdna/DNA_tracking_types.h | |
parent | 97e823488ca758348acb96b4a787e2f129443f6f (diff) |
Tweaks to plane track
- Do plane re-evaluation only when transform is actually done.
Before this re-evaluation happened on every mouse move.
- Added a flag "Auto Keyframe" for the plane track, which does:
* If Auto Keyframe is enabled, then every manual edit of the
plane will create a new keyframe at current frame and update
plane motion between current frame and previous/next keyframe.
This now also implies blending detected motion with neighbor
keyframes, so there's no jump happening.
No automatic update on manual point tracks edit will happen.
* If auto Keyframe is disabled, then no keyframes are adding
to the plane and every plane tweak will re-evaluate in on
the whole frame range.
In this case manual tweaks to point tracks and re-tracking
them implies plane re-evaluation.
Diffstat (limited to 'source/blender/makesdna/DNA_tracking_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_tracking_types.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_tracking_types.h b/source/blender/makesdna/DNA_tracking_types.h index f81ac4dab06..3eafbee1bad 100644 --- a/source/blender/makesdna/DNA_tracking_types.h +++ b/source/blender/makesdna/DNA_tracking_types.h @@ -481,8 +481,9 @@ enum { /* MovieTrackingPlaneTrack->flag */ enum { - PLANE_TRACK_HIDDEN = (1 << 1), - PLANE_TRACK_LOCKED = (1 << 2), + PLANE_TRACK_HIDDEN = (1 << 1), + PLANE_TRACK_LOCKED = (1 << 2), + PLANE_TRACK_AUTOKEY = (1 << 3), }; #endif /* __DNA_TRACKING_TYPES_H__ */ |