Blender Git Commit Log

Git Commits -> Revision bc78892

Revision bc78892 by Jacques Lucke (master)
January 8, 2021, 15:39 (GMT)
Scenes: forbid deleting last local scene

Previously, it was only forbidden to delete the last scene. This can
lead to the situation where a .blend file only contains linked scenes.
This is problematic, because linked data might not always be available
or can be removed from a .blend file without having an additional check
for remaining scenes.

Now there always has to be at least one local scene.

Reviewers: mont29

Differential Revision: https://developer.blender.org/D10049

Commit Details:

Full Hash: bc788929aa2bd259670a5562a1f403f25cad4625
Parent Commit: 2d3f96c
Lines Changed: +25, -5

4 Modified Paths:

/source/blender/blenkernel/BKE_scene.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+15, -0) (Diff)
/source/blender/editors/scene/scene_edit.c (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+6, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021