Fix T37627: create scene with copy settings did not copy cycles settings.

This commit is contained in:
Brecht Van Lommel 2013-11-26 15:19:08 +01:00
parent a31b450093
commit b65eb761cc
Notes: blender-bot 2023-02-14 11:33:20 +01:00
Referenced by issue #37627, New Scene "New" and "Copy Settings" not working with Cycles settings
1 changed files with 3 additions and 0 deletions

View File

@ -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 {