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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2013-11-26 18:19:08 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2013-11-26 18:19:44 +0400
commitb65eb761cc13043d3a9c49f447afc22a11c20d6c (patch)
treed6541d9e7e0fbdae2faf21811fe1dc4bd3f75fb7 /source/blender/blenkernel
parenta31b4500936136eeeac3223464f5ea0bcd040331 (diff)
Fix T37627: create scene with copy settings did not copy cycles settings.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/scene.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index a6813632a13..80fcee18513 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -163,6 +163,9 @@ Scene *BKE_scene_copy(Scene *sce, int type)
scen->gm = sce->gm;
scen->audio = sce->audio;
+ if (sce->id.properties)
+ scen->id.properties = IDP_CopyProperty(sce->id.properties);
+
MEM_freeN(scen->toolsettings);
}
else {