From 3a200d66ae8c8b89aad83009bf6edcc6c1a92263 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 28 Aug 2014 15:45:05 +0600 Subject: Fix T41604: Double updates of world and material texture settings The issue was caused by the world localization setting the ID_WORLD type update tag. Now using a function which doesn't pollute the library and which doesn't set update flags. --- source/blender/blenkernel/intern/world.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/blender/blenkernel/intern/world.c b/source/blender/blenkernel/intern/world.c index 5065c3ae04f..8e3c92314e6 100644 --- a/source/blender/blenkernel/intern/world.c +++ b/source/blender/blenkernel/intern/world.c @@ -142,8 +142,7 @@ World *localize_world(World *wrld) World *wrldn; int a; - wrldn = BKE_libblock_copy(&wrld->id); - BLI_remlink(&G.main->world, wrldn); + wrldn = BKE_libblock_copy_nolib(&wrld->id, false); for (a = 0; a < MAX_MTEX; a++) { if (wrld->mtex[a]) { -- cgit v1.2.3