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:
authorSergey Sharybin <sergey.vfx@gmail.com>2010-12-06 20:20:22 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2010-12-06 20:20:22 +0300
commit14ec2d91228596adc466a898b97c4093f5694243 (patch)
tree4126f806a309aa2b3e8b81a5674be6afd4183787 /source/blender/makesdna/DNA_curve_types.h
parent9d636334e95cfbeb79692265a07ea5c2536627e0 (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r--source/blender/makesdna/DNA_curve_types.h4
1 files changed, 4 insertions, 0 deletions
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;