Blender Git Commit Log

Git Commits -> Revision 008689e

October 31, 2020, 20:45 (GMT)
USD improter: simplify mesh reading.

The original implementation of USDMeshReader::read_mesh()
closely followed AbcMeshReader::read_mesh(), which was
designed to be invoked by a mesh modifier. However,
since the USD importer isn't applying a mesh modifier
yet, this made the code unnecessarily complex. For now
I've refactored this function to simply return a new
mesh, and the additional logic for modifiers can be
restored in the future when it's needed.

Commit Details:

Full Hash: 008689e42dfb07f39e7c82a7f2fa43bb653365e0
Parent Commit: dde0e5c
Lines Changed: +36, -65

4 Modified Paths:

/source/blender/io/usd/import/usd_reader_mesh.cc (+32, -52) (Diff)
/source/blender/io/usd/import/usd_reader_mesh.h (+1, -4) (Diff)
/source/blender/io/usd/import/usd_reader_object.cc (+2, -5) (Diff)
/source/blender/io/usd/import/usd_reader_object.h (+1, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021