]> de.git.xonotic.org Git - xonotic/netradiant.git/commit
Fix bug #1356: .obj loading bug in picolib
authorNodenum <Nodenum@dev.xonotic.org.invalid>
Mon, 17 Dec 2012 08:32:19 +0000 (09:32 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 17 Dec 2012 08:32:19 +0000 (09:32 +0100)
commit805046c354fa3aa132c7d5df985fabf035daf010
treedad689f15a4ab716fdd5211a4834c9a5d09d21dd
parent646e93a73b62344aa81d4858c94721c98ad1e939
Fix bug #1356: .obj loading bug in picolib

There's a bug in picolib when parsing the first group in an .obj file.

The library tries to set the surface name to a surface pointer
that is still NULL.

This gets silently ignored but the problem reappears later
in a warning message when the material or a face is parsed.
libs/picomodel/pm_obj.c