From edad58c5b17835b598b824cc0726a6e269e54ee8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 29 May 2012 08:55:16 +0000 Subject: initial support for animating parented mask points. --- source/blender/makesdna/DNA_mask_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesdna') 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 */ -- cgit v1.2.3