From 14ec2d91228596adc466a898b97c4093f5694243 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 6 Dec 2010 17:20:22 +0000 Subject: Curves CV animation =================== Update fcurves RNA pathes after making changes to curve topology, so animation will no longer lost after edit and wouldn't lead to crash. Will be very useful for RotoBezier addon. Also NodeKeyIndex renamed to CVNodeIndex due to node is an entity from another module and better not used in others. --- source/blender/makesdna/DNA_curve_types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/makesdna/DNA_curve_types.h') diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index de6416e4488..61acdd79da4 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -155,6 +155,10 @@ typedef struct EditNurb { /* base of nurbs' list (old Curve->editnurb) */ ListBase nurbs; + /* copy of animation curves to keep them in consistent state */ + /* when changing curve topology */ + ListBase fcurves; + /* index data for shape keys */ struct GHash *keyindex; -- cgit v1.2.3