Blender Git Loki
Git Commits -> Revision fe3a359
Revision fe3a359 by Ankit Meel (soc-2020-io-performance) July 4, 2020, 08:36 (GMT) |
Support multiple smooth groups and bitflags For uniformity, removed `const MPoly &mpoly` from `write_vertex_groups` and `write_poly_material`, and replaced it with poly_index. And use `get_ith_poly` to get the polygon needed. Removed `is_shaded_smooth`. It was wrong to compare an object level flag with a polygon level flag. Replaced its usage with `tot_smooth_groups()`. |
Commit Details:
Full Hash: fe3a359fb1fff0226e8dc4afc0ff96f1e62b9856
Parent Commit: c2eb16f
Lines Changed: +115, -36
7 Modified Paths:
/source/blender/editors/io/io_obj.c (+15, -3) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.cc (+28, -4) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.hh (+6, -1) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_nurbs.hh (+2, -2) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.cc (+53, -22) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.hh (+6, -3) (Diff)
/source/blender/io/wavefront_obj/IO_wavefront_obj.h (+5, -1) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.cc (+28, -4) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.hh (+6, -1) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_nurbs.hh (+2, -2) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.cc (+53, -22) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.hh (+6, -3) (Diff)
/source/blender/io/wavefront_obj/IO_wavefront_obj.h (+5, -1) (Diff)