Blender Git Loki
Git Commits -> Revision a742bed
Revision a742bed by Ankit Meel (soc-2020-io-performance) September 14, 2020, 19:45 (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: a742bede2b3cbc6e474d59dcf180e7fa0acd98dc
Parent Commit: 3bffab7
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)