Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-08-28 13:45:05 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-08-28 13:45:05 +0400
commit3a200d66ae8c8b89aad83009bf6edcc6c1a92263 (patch)
treec7808babdfd6a9ac82e8592bd94414f33fc84e9d /source
parentd84c15696b2949b7e596b1f75e5864033fd9d067 (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/world.c3
1 files changed, 1 insertions, 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]) {