[Bf-blender-cvs] [5156c28] alembic: Fix for wrong pointer used in the modifier cache copy function.

Lukas Tönne noreply at git.blender.org
Thu Apr 2 16:39:59 CEST 2015


Commit: 5156c283ddbe3fa6717d247ec2b9df6d847c306b
Author: Lukas Tönne
Date:   Thu Apr 2 16:39:10 2015 +0200
Branches: alembic
https://developer.blender.org/rB5156c283ddbe3fa6717d247ec2b9df6d847c306b

Fix for wrong pointer used in the modifier cache copy function.

===================================================================

M	source/blender/blenkernel/intern/cache_library.c

===================================================================

diff --git a/source/blender/blenkernel/intern/cache_library.c b/source/blender/blenkernel/intern/cache_library.c
index 7ab67c1..b711100 100644
--- a/source/blender/blenkernel/intern/cache_library.c
+++ b/source/blender/blenkernel/intern/cache_library.c
@@ -523,7 +523,7 @@ CacheModifier *BKE_cache_modifier_copy(CacheLibrary *cachelib, CacheModifier *md
 	if (mti->copy)
 		mti->copy(md, tmd);
 	
-	BLI_addtail(&cachelib->modifiers, md);
+	BLI_addtail(&cachelib->modifiers, tmd);
 	
 	return tmd;
 }




More information about the Bf-blender-cvs mailing list