Blender Git Commit Log
Git Commits -> Revision 71eadb4
Revision 71eadb4 by Ankit Meel (soc-2020-io-performance) July 20, 2020, 11:26 (GMT) |
Move vertex (and UV vertex) list outside OBJRawObject Since an OBJ file may contain data like [1], the vertex coordinates list should be detached from any `OBJRawObject`. So every raw object keeps track of its vertices by indexing into the global list of coordinates. [1] ``` o plane v 0 0 2 v 0 2 0 v 2 0 0 f 1 2 3 # note missing o <name> v 1 1 0 v 1 0 0 v 0 1 0 v 0 0 0 g curve cstype bspline curv 0 1 -1 -2 -3 -4 ... ``` |
Commit Details:
Full Hash: 71eadb4b6287286c7b2d6a302dcbdcc5aef75491
Parent Commit: 5468cc0
Lines Changed: +92, -55
6 Modified Paths:
/source/blender/io/wavefront_obj/intern/wavefront_obj_importer.cc (+24, -13) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_file_reader.cc (+36, -27) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_file_reader.hh (+6, -3) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_mesh.cc (+14, -8) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_mesh.hh (+2, -1) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_objects.hh (+10, -3) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_file_reader.cc (+36, -27) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_file_reader.hh (+6, -3) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_mesh.cc (+14, -8) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_mesh.hh (+2, -1) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_objects.hh (+10, -3) (Diff)