fix for mistake in own recent commit.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 23 Mar 2010 16:17:27 +0000 (16:17 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 23 Mar 2010 16:17:27 +0000 (16:17 +0000)
(commit 27690 by Campbell from render25 branch)

source/blender/blenkernel/intern/node.c

index 3ac8f5650035155c6ddac4a18884f5a80fb5fe55..5bd9694e768be1dbcee321aa347d1bd792f8618e 100644 (file)
@@ -2543,8 +2543,8 @@ bNodeTree *ntreeLocalize(bNodeTree *ntree)
        if(adt) {
                AnimData *ladt= BKE_animdata_from_id(&ltree->id);
 
-               ladt->action = action_backup;
-               ladt->tmpact = tmpact_backup;
+               adt->action= ladt->action= action_backup;
+               adt->tmpact= ladt->tmpact= tmpact_backup;
 
                if(action_backup) action_backup->id.us++;
                if(tmpact_backup) tmpact_backup->id.us++;