BGE: Fix for [#35320] "Crash When Adding Property without Setting Material" reported...
authorMitchell Stokes <mogurijin@gmail.com>
Mon, 13 May 2013 05:37:45 +0000 (05:37 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Mon, 13 May 2013 05:37:45 +0000 (05:37 +0000)
commit8576a275dcb2652d4593e473ea61e2033d27c553
treeb9037ca621dd2d89482f225b443234f28c96fcb9
parent82612ae9502127a77a82b722189760995376f836
BGE: Fix for [#35320] "Crash When Adding Property without Setting Material" reported by Leon Cheung.

Adding an extra NULL check to draw_mesh_text() to avoid accessing a NULL material array.
source/blender/editors/space_view3d/drawmesh.c