Fix/workaround crash opening almost any Spring file
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Dec 2018 11:41:46 +0000 (12:41 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Dec 2018 11:41:46 +0000 (12:41 +0100)
commit942e9835a9acdc19164bf6b07796eace1548f3fd
treee1fe7a4377a3868c8b3d88ecb1fc45f3ac48f9cf
parentfff5df8108255b6579f802d769e6951e5dd96492
Fix/workaround crash opening almost any Spring file

The issue was caused mpoly array urequired by the cache filling,
but the pointer was never set when preparing render data.

Seems this change is safe enough, in terms it shouldn't be
causing slowdown, since the assignment of mpoly is cheap, but
hard to tell if there is anything else affected by thing underneath.
source/blender/draw/intern/draw_cache_impl_mesh.c