Blender Git Loki
Git Commits -> Revision 54f15a6
Revision 54f15a6 by Ankit Meel (soc-2020-io-performance) September 1, 2020, 12:19 (GMT) |
Move uv_indices in OBJMesh. Save some memory. Since OBJMesh has dynamically allocated space in smooth groups and uv_indices (which can be a lot), destruct objects that have been written. Use `const` at some places. |
Commit Details:
Full Hash: 54f15a66a07a68c7db210ade79151c6262321e57
Parent Commit: 0ba0c36
Lines Changed: +40, -24
5 Modified Paths:
/source/blender/io/wavefront_obj/intern/obj_exporter.cc (+10, -5) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_file_writer.cc (+4, -6) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_file_writer.hh (+2, -2) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_mesh.cc (+17, -7) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_mesh.hh (+7, -4) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_file_writer.cc (+4, -6) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_file_writer.hh (+2, -2) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_mesh.cc (+17, -7) (Diff)
/source/blender/io/wavefront_obj/intern/obj_export_mesh.hh (+7, -4) (Diff)