From b67692a1302f49eafe5202ed9e6d1af14bf6fb24 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 30 Dec 2010 05:41:17 +0000 Subject: Various pedantic fixes to satisfy compilers. --- source/blender/blenkernel/intern/anim_sys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/anim_sys.c') 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); } -- cgit v1.2.3