Fix T59922: crash reading files with older renderlayers
authorPhilipp Oeser <info@graphics-engineer.com>
Fri, 28 Dec 2018 09:26:45 +0000 (10:26 +0100)
committerPhilipp Oeser <info@graphics-engineer.com>
Fri, 28 Dec 2018 10:32:33 +0000 (11:32 +0100)
commitc07ae0e821e441b3c3a9b6f192487744c54f4015
tree2a4665adc741aa9f9165ca34ce5276f763383bc2
parent1e935b090be3287f835d6bcbacc6b2c5345f3936
Fix T59922: crash reading files with older renderlayers

- own error in rB2c196de56bbb163048b08f321983234a5e72e804
- now introduce RE_PASSNAME_DEPRECATED placeholder for old passes
- also dont allocate NodeImageLayers for these

Reviewers: brecht

Maniphest Tasks: T59922

Differential Revision: https://developer.blender.org/D4132
source/blender/blenloader/intern/versioning_270.c
source/blender/makesdna/DNA_scene_types.h
source/blender/nodes/composite/nodes/node_composite_image.c