mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T52315: Crash on duplicating Scene without world.
Regression from rBa7b3047cefcbf, to be backported to 2.79. Like... seriously... :|
This commit is contained in:
parent
e54df78c82
commit
0146ab2fd5
1 changed files with 3 additions and 1 deletions
|
|
@ -2137,7 +2137,9 @@ void ED_object_single_users(Main *bmain, Scene *scene, const bool full, const bo
|
|||
IDP_RelinkProperty(scene->gpd->id.properties);
|
||||
}
|
||||
|
||||
IDP_RelinkProperty(scene->world->id.properties);
|
||||
if (scene->world) {
|
||||
IDP_RelinkProperty(scene->world->id.properties);
|
||||
}
|
||||
|
||||
if (scene->clip) {
|
||||
IDP_RelinkProperty(scene->clip->id.properties);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue