check if the layer exists rather then getting the array.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 13 Jan 2010 12:17:21 +0000 (12:17 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 13 Jan 2010 12:17:21 +0000 (12:17 +0000)
commite5be23c141a4d5e857cd1d08b9a5151f4eb74d9e
treeceafa7a10f244d8a52149877992e7d3720651f3d
parent3c888b63f0e7dfeff5003a80857a0285b29395c1
check if the layer exists rather then getting the array.
source/blender/blenkernel/intern/modifier.c