Open kowalskima opened 3 years ago
To reproduce, select the Global Read Flag option to Vertex only and load a USD containing a mesh.
I've committed this fix to the usd-importer-T81257-merge branch: https://github.com/tangent-opensource/blender/commit/c77832df3bdbf399583c10e1d3b47a17c491cd76
Crash occurs because downstream code expects polys to exist. Modified the mesh import logic to always read verts and polys for new meshes, regardless of the value of the read flag.
To reproduce, select the Global Read Flag option to Vertex only and load a USD containing a mesh.
I've committed this fix to the usd-importer-T81257-merge branch: https://github.com/tangent-opensource/blender/commit/c77832df3bdbf399583c10e1d3b47a17c491cd76
Crash occurs because downstream code expects polys to exist. Modified the mesh import logic to always read verts and polys for new meshes, regardless of the value of the read flag.