Fix #36451, Particle system crashes blender. The psys_render_restore function was...
authorLukas Toenne <lukas.toenne@googlemail.com>
Tue, 13 Aug 2013 06:21:39 +0000 (06:21 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Tue, 13 Aug 2013 06:21:39 +0000 (06:21 +0000)
commit3e954e95a691bccd323aeec83c9aacbfaf3a8d04
tree4131b67d8cc4e3ff6aeb84cc3a399dd369f38144
parent730b9c283e2631bd10cfaab331ac6758790c17b8
Fix #36451, Particle system crashes blender. The psys_render_restore function was accessing the psys->frand random number array, but since the particle modifier is disabled this array does not get
initialized. Added a sanity check to skip disabled particle systems in BI render. (why wasn't this done before?)
source/blender/render/intern/source/convertblender.c