Blender Git Loki
Git Commits -> Revision 9445be1
Revision 9445be1 by Ankit Meel (soc-2020-io-performance) August 31, 2020, 22:03 (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: 9445be11fb72aaad3908846c455c973832522c1b
Parent Commit: 0b9f41f
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)
/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)