Blender Git Commit Log

Git Commits -> Revision 31d6df6

Revision 31d6df6 by Ankit Meel (soc-2020-io-performance)
September 14, 2020, 19:45 (GMT)
Not expose MPoly to writer. Write normals correctly

Write vertex normals only of smooth shaded polygons, otherwise
write face normals.

Keep normal indices in writer only since OBJMesh doesn't need to know
about export parameters. (will remove more such items from OBJMesh
later on.)

Keep MPoly related operations inside OBJMesh only & don't expose it to
Writer.

Commit Details:

Full Hash: 31d6df6d3598ec3f4d6de49b20cc31899213b493
Parent Commit: f4c70d7
Lines Changed: +99, -87

5 Modified Paths:

/source/blender/io/wavefront_obj/intern/obj_export_file_writer.cc (+62, -54) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_file_writer.hh (+10, -5) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_mesh.cc (+21, -24) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_mesh.hh (+5, -3) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_nurbs.cc (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021