Blender Git Loki

Git Commits -> Revision 880c132

Revision 880c132 by Sergey Sharybin (master)
May 27, 2013, 15:13 (GMT)
Fix #35480: object without material crash blender when starting game engine

Was a missing NULL-pointer check. No idea why it took so long to figure
issue out -- apparently there was no crash in linux for me and msvc
didn't show any backtrace :S

Also corrected weirdo way of bit flag check which was:
!ma->mode & MA_FACETEXTURE
better do !(ma->mode & MA_FACETEXTURE) since ! is a logic NOT.

Commit Details:

Full Hash: 880c132b11829abce6b6a935437278cc70034c3c
SVN Revision: 57052
Parent Commit: 5a96c73
Lines Changed: +2, -2

1 Modified Path:

/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021