diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-08-29 00:52:36 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-08-29 00:53:25 +0400 |
commit | b583894592e22468ef25cf2979577f6ce7fcf777 (patch) | |
tree | 99adf65a4fbbb31dbc0e57ed270c14af48af1822 /source/blender/blenkernel/intern | |
parent | cf3ce7322a9b6c1453869a369eba02f4fd077234 (diff) |
Fix another part of the issue T41604
Missed that part of the report somehow, thought it's all about world..
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/texture.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c index 47b08613431..4d5c7dc1bf7 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 */ |