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>2010-12-30 08:41:17 +0300
committerJoshua Leung <aligorith@gmail.com>2010-12-30 08:41:17 +0300
commitb67692a1302f49eafe5202ed9e6d1af14bf6fb24 (patch)
tree44f3250c5a7c7e857ea4598b746000d380e68708 /source/blender/blenkernel/intern/anim_sys.c
parent02038dcf5713452c2798c18e59a5a52df6ac0376 (diff)
Various pedantic fixes to satisfy compilers.
Diffstat (limited to 'source/blender/blenkernel/intern/anim_sys.c')
-rw-r--r--source/blender/blenkernel/intern/anim_sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c
index e8a9851b0d9..3252b1f71b2 100644
--- a/source/blender/blenkernel/intern/anim_sys.c
+++ b/source/blender/blenkernel/intern/anim_sys.c
@@ -405,10 +405,10 @@ void BKE_animdata_separate_by_basepath (ID *srcID, ID *dstID, ListBase *basepath
}
else if (dstAdt->action == srcAdt->action) {
printf("Argh! Source and Destination share animation! ('%s' and '%s' both use '%s') Making new empty action\n",
- srcID, dstID, srcAdt->action);
+ srcID->id.name, dstID->id.name, srcAdt->action->id.name);
// TODO: review this...
- id_us_min(dstAdt->action);
+ id_us_min(&dstAdt->action->id);
dstAdt->action = add_empty_action(dstAdt->action->id.name+2);
}