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:
authorJoshua Leung <aligorith@gmail.com>2009-01-18 13:41:45 +0300
committerJoshua Leung <aligorith@gmail.com>2009-01-18 13:41:45 +0300
commit53ae509cc5ad75dca490dea8c632d542285e0058 (patch)
tree3ccf1ca8583c46b67391ceca2b07698c19f28c8c /source/blender/blenkernel/intern/library.c
parent711d04a4995f16abbbaca0deecadd48fefbbe165 (diff)
2.5 - AnimSys Data management stuff...
* Removed nAction struct. We'll be using good ol' bAction structs again, but putting new data in a different list. Apart from that, the data is similar enough to do so. * Rearranged code in DNA_action_types.h while renaming the structs to avoid confusion over what is currently in use... * Added freeing and AnimData execution loops for many other ID-types too. (NOTE: I've added AnimData in NodeTree struct too, but it's not clear to me where the relevant data-management calls should go in Nodes code). * File writing code should now only write the new data to files
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r--source/blender/blenkernel/intern/library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index d0e5da5f936..ecd6e22c3ef 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -359,7 +359,7 @@ static ID *alloc_libblock_notest(short type)
id = MEM_callocN(sizeof(bArmature), "armature");
break;
case ID_AC:
- id = MEM_callocN(sizeof(nAction), "action"); // XXX animation system
+ id = MEM_callocN(sizeof(bAction), "action");
break;
case ID_NT:
id = MEM_callocN(sizeof(bNodeTree), "nodetree");
@@ -520,7 +520,7 @@ void free_libblock(ListBase *lb, void *idv)
free_armature((bArmature *)id);
break;
case ID_AC:
- free_action((nAction *)id); // XXX animation system...
+ free_action((bAction *)id);
break;
case ID_NT:
ntreeFreeTree((bNodeTree *)id);