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>2010-01-30 00:16:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-30 00:16:21 +0300
commit3946ae56ac585121bcec8871393f0dae3a57a56b (patch)
tree82767e3ec1353e353009d1771789bd15c9e4b0ab /source/blender/blenkernel/BKE_animsys.h
parent588d3661c858c0f7d095463469d6f2497c018d49 (diff)
deleting objects which were driver targets would crash blender.
added a utility function BKE_animdata_main_cb which loops over all AnimData's of all ID's
Diffstat (limited to 'source/blender/blenkernel/BKE_animsys.h')
-rw-r--r--source/blender/blenkernel/BKE_animsys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h
index a36845b38a2..68dd62af179 100644
--- a/source/blender/blenkernel/BKE_animsys.h
+++ b/source/blender/blenkernel/BKE_animsys.h
@@ -94,6 +94,8 @@ void BKE_animdata_fix_paths_rename(struct ID *owner_id, struct AnimData *adt, ch
/* Fix all the paths for the entire database... */
void BKE_all_animdata_fix_paths_rename(char *prefix, char *oldName, char *newName);
+void BKE_animdata_main_cb(struct Main *main, void (*func)(struct ID *, struct AnimData *, void *), void *user_data);
+
/* ************************************* */
// TODO: overrides, remapping, and path-finding api's