Various pedantic fixes to satisfy compilers.
authorJoshua Leung <aligorith@gmail.com>
Thu, 30 Dec 2010 05:41:17 +0000 (05:41 +0000)
committerJoshua Leung <aligorith@gmail.com>
Thu, 30 Dec 2010 05:41:17 +0000 (05:41 +0000)
source/blender/blenkernel/intern/anim_sys.c

index e8a9851b0d907d0aaba14816e0acdf9a991b21f4..3252b1f71b201c2639d396468aac170d2f816242 100644 (file)
@@ -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",
                }
                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...
                        
                        // TODO: review this...
-                       id_us_min(dstAdt->action);
+                       id_us_min(&dstAdt->action->id);
                        dstAdt->action = add_empty_action(dstAdt->action->id.name+2);
                }
                        
                        dstAdt->action = add_empty_action(dstAdt->action->id.name+2);
                }