Blender Git Loki

Git Commits -> Revision 9106b3b

Revision 9106b3b by Mitchell Stokes (master)
January 5, 2013, 08:53 (GMT)
BGE: Fix for [#33769] "Material friction settings are ignored" reported by Alex Fraser (z0r).

As of r53332, give_current_material() won't accept a 0 index and return NULL. CreateMaterialFromBlenderObject() was using index 0 to just grab the first material. Since this now returned NULL, it would use default settings. We'll just ask for index 1 now instead.

Commit Details:

Full Hash: 9106b3b10782da51814d3a859eebae51085c374c
SVN Revision: 53576
Parent Commit: 9611202
Lines Changed: +1, -1

1 Modified Path:

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