Some operation allowed to set invalid active scene render layer
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 23 May 2014 16:30:36 +0000 (18:30 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 23 May 2014 16:30:36 +0000 (18:30 +0200)
commitf5055d86887a2c139080f26ab0ba9a00cf077ef6
treedc1eff40edd2de0d7bbfd50cc99d716d46c6ef87
parent5811076d0dd9df7f87837160c4eea168a0a1e256
Some operation allowed to set invalid active scene render layer

Forbid this now and do tricks in the versioning code to repair
corrupted files.

Thanks to Pablo, Caminandes and Koro for discovering this bug!
source/blender/blenloader/intern/versioning_270.c
source/blender/editors/space_node/node_edit.c
source/blender/makesrna/intern/rna_scene.c