Bug fix, provided by Martin Dickopp;
authorTon Roosendaal <ton@blender.org>
Fri, 4 Mar 2005 22:17:52 +0000 (22:17 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 4 Mar 2005 22:17:52 +0000 (22:17 +0000)
commitc8a84be5f41de6f7958f302eb6b72d153127bd3c
tree7ad8c5184930fb39ed54f8eb08ceef9ed2a7109a
parent512aabd68e6cee0540f1e09766c5bd956b432ed7
Bug fix, provided by Martin Dickopp;

The dynamical allocated arrays (rwenzlaff, april 03) for render vertices/
faces/halos were freed in a way that requires the last element of array to
be NULL.
This wasn't coded however, causing memory errors in exceptional cases;
like when amount of faces/vertices is exact between 261888 and 262144. :)
source/blender/render/intern/source/renderdatabase.c
source/blender/renderconverter/intern/convertBlenderScene.c