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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-29 12:55:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-29 12:55:16 +0400
commitedad58c5b17835b598b824cc0726a6e269e54ee8 (patch)
tree9ea69dcc7bc45fa250762d197e4fd016cc52d319 /source/blender/makesdna
parentb9d1830d77fbbef2f616f648f688389ef05e7d06 (diff)
initial support for animating parented mask points.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_mask_types.h3
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 */