Fix T37627: create scene with copy settings did not copy cycles settings.
This commit is contained in:
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
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue