diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-29 12:55:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-29 12:55:16 +0400 |
commit | edad58c5b17835b598b824cc0726a6e269e54ee8 (patch) | |
tree | 9ea69dcc7bc45fa250762d197e4fd016cc52d319 /source/blender/makesdna | |
parent | b9d1830d77fbbef2f616f648f688389ef05e7d06 (diff) |
initial support for animating parented mask points.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_mask_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_mask_types.h b/source/blender/makesdna/DNA_mask_types.h index 441b15a8aa9..eef7a024d72 100644 --- a/source/blender/makesdna/DNA_mask_types.h +++ b/source/blender/makesdna/DNA_mask_types.h @@ -59,6 +59,7 @@ typedef struct MaskParent { * in case of parenting to movie tracking data contains name of track */ float offset[2]; /* offset from parent position, so object/control point can be parented to a * motion track and also be animated (see ZanQdo's request below) */ + float parent_orig[2]; /* track location at the moment of parenting */ } MaskParent; typedef struct MaskSplinePointUW { @@ -83,6 +84,8 @@ typedef struct MaskSpline { MaskParent parent; /* parenting information of the whole spline */ int weight_interp, pad; /* weight interpolation */ + + MaskSplinePoint *points_deform; /* deformed copy of 'points' BezTriple data - not saved */ } MaskSpline; /* one per frame */ |