diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-14 10:41:42 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-14 10:41:42 +0400 |
commit | f4745763514a51bf841fc2c344d62242bdc297da (patch) | |
tree | c6b6d462a55bfe33381f1a6c340d2e613b00f7cb /source/blender/makesdna/DNA_constraint_types.h | |
parent | 0f82384fd02c0809f55b8b26e4b4ab291b821ff7 (diff) |
Camera tracking: interface cleanup and small buttons renaming
- Move tracking-related constraints to own section in list
Currently there are only two constraints, so can look a bit odd,
but it'll be other constraints like "Object Solver" and so.
- Move motion-tracking parameters from 3D viewport Display panel
to it's own panel.
- Get rid of "Bundle" in 3d viewport. It's quite obvious that it's
a 3D representation of tracks is used in 3D viewport and it shouldn't
be so confusing for artists now.
- Also get rid of "Bundle" in Follow Track constraint.
Old files can change a bit because of changes in DNA.
- Also get rid of "Bundles" in operator which creates vertices cloud
from 3D position of tracks.
- Rename "Principal Point" to "Optical Center" in the interface.
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_constraint_types.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h index 3620131b8df..c85ef72d337 100644 --- a/source/blender/makesdna/DNA_constraint_types.h +++ b/source/blender/makesdna/DNA_constraint_types.h @@ -410,7 +410,7 @@ typedef struct bShrinkwrapConstraint { typedef struct bFollowTrackConstraint { struct MovieClip *clip; char track[24]; - int flag, reference; + int flag, pad; } bFollowTrackConstraint; /* Camera Solver constraints */ @@ -751,14 +751,9 @@ typedef enum ePivotConstraint_Flag { PIVOTCON_FLAG_ROTACT_NEG = (1<<1) } ePivotConstraint_Flag; -/* FollowTrack Constraint -> flag */ -typedef enum eFollowTrack_Reference { - FOLLOWTRACK_TRACK = (1<<0), - FOLLOWTRACK_BUNDLE = (1<<1) -} FollowTrack_Reference; - typedef enum eFollowTrack_Flags { - FOLLOWTRACK_ACTIVECLIP = (1<<0) + FOLLOWTRACK_ACTIVECLIP = (1<<0), + FOLLOWTRACK_USE_3D_POSITION = (1<<1) } eFollowTrack_Flags; /* CameraSolver Constraint -> flag */ |