Blender Git Loki

Git Commits -> Revision faa11ec

Revision faa11ec by Ankit Meel (soc-2020-io-performance)
June 29, 2020, 13:49 (GMT)
Support multiple materials in the same object.

Design has slightly changed:
The line with `usemtl` has moved just before a face element is
being written. So whenever a face with a new material is encountered,
it can be labelled.

Appending to the MTL file is still at the same place, writing once every
object.

Commit Details:

Full Hash: faa11ec04a4dbfcbe5ca47b7db684f943d470da2
Parent Commit: bab0fce
Lines Changed: +76, -43

7 Modified Paths:

/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter.cc (+4, -4) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.cc (+3, -3) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.hh (+11, -4) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mtl.cc (+18, -15) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mtl.hh (+7, -4) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.cc (+31, -11) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.hh (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021