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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-10-19 14:58:01 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-10-19 14:58:01 +0300
commit0f8a57de68f706f73c25c8c456113f25ed634662 (patch)
tree834d9b1e1049d3118c57dfe3eb88fd369b814d0f /source/blender/blenkernel/intern/world.c
parent335e454db65571e16756d7b287e81bc4dea6b7e6 (diff)
parent1cddab18ded9489f2f29b0655698f2e2e4e2076a (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/blenkernel/intern/world.c')
-rw-r--r--source/blender/blenkernel/intern/world.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/world.c b/source/blender/blenkernel/intern/world.c
index cbe00e3bbc6..4abd2a01d40 100644
--- a/source/blender/blenkernel/intern/world.c
+++ b/source/blender/blenkernel/intern/world.c
@@ -136,6 +136,8 @@ void BKE_world_copy_data(Main *bmain, World *wrld_dst, const World *wrld_src, co
}
if (wrld_src->nodetree) {
+ /* Note: nodetree is *not* in bmain, however this specific case is handled at lower level
+ * (see BKE_libblock_copy_ex()). */
BKE_id_copy_ex(bmain, (ID *)wrld_src->nodetree, (ID **)&wrld_dst->nodetree, flag, false);
}