Blender Git Loki
Git Commits -> Revision 41f47cd
Revision 41f47cd by Ankit Meel (soc-2020-io-performance) June 17, 2020, 13:21 (GMT) |
Make UV coords and face normals optional to write Adds options in the UI for writing normals and UV coordinates to the OBJ file. {F8627897} As expected, calculating both of them is also skipped conditionally. However, the memory for normals is still allocated; just not used. |
Commit Details:
Full Hash: 41f47cd8d6a4699bafa4f6ae973c775f00185810
Parent Commit: d47318f
Lines Changed: +104, -29
5 Modified Paths:
/source/blender/editors/io/io_obj.c (+17, -0) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter.cc (+7, -3) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.cc (+73, -25) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.hh (+3, -1) (Diff)
/source/blender/io/wavefront_obj/IO_wavefront_obj.h (+4, -0) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter.cc (+7, -3) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.cc (+73, -25) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.hh (+3, -1) (Diff)
/source/blender/io/wavefront_obj/IO_wavefront_obj.h (+4, -0) (Diff)