Blender Git Commit Log

Git Commits -> Revision ccc97b6

March 28, 2021, 12:03 (GMT)
Fixed problem of repeated same materials output in MTL file.

The code was writing out all of the materials for each object.
Refactored so that the materials for all objects are gathered
together, deduping, and writing out at the end of a frame.

Commit Details:

Full Hash: ccc97b664c1764cfecb539b33b1a4e7dc2d11bb7
Parent Commit: bfea06a
Lines Changed: +144, -124

5 Modified Paths:

/source/blender/io/wavefront_obj/exporter/obj_exporter.cc (+26, -15) (Diff)
/source/blender/io/wavefront_obj/exporter/obj_export_file_writer.cc (+67, -30) (Diff)
/source/blender/io/wavefront_obj/exporter/obj_export_file_writer.hh (+10, -3) (Diff)
/source/blender/io/wavefront_obj/exporter/obj_export_mtl.cc (+40, -54) (Diff)
/source/blender/io/wavefront_obj/exporter/obj_export_mtl.hh (+1, -22) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021