Commit: b583894592e22468ef25cf2979577f6ce7fcf777
Author: Sergey Sharybin
Date:   Fri Aug 29 02:52:36 2014 +0600
Branches: master
https://developer.blender.org/rBb583894592e22468ef25cf2979577f6ce7fcf777

Fix another part of the issue T41604

Missed that part of the report somehow, thought it's all about world..

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

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

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

diff --git a/source/blender/blenkernel/intern/texture.c 
b/source/blender/blenkernel/intern/texture.c
index 47b0861..4d5c7dc 100644
--- a/source/blender/blenkernel/intern/texture.c
+++ b/source/blender/blenkernel/intern/texture.c
@@ -852,8 +852,7 @@ Tex *localize_texture(Tex *tex)
 {
        Tex *texn;
        
-       texn = BKE_libblock_copy(&tex->id);
-       BLI_remlink(&G.main->tex, texn);
+       texn = BKE_libblock_copy_nolib(&tex->id, false);
        
        /* image texture: BKE_texture_free also doesn't decrease */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to