Fix: Collada import assert with faceless prims #120738

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:120721_b into main 2024-04-17 14:22:09 +02:00

1 Commits

Author SHA1 Message Date
Philipp Oeser e6f2dd6523 Fix: Collada import assert with faceless prims
Importing `COLLADAFW::MeshPrimitive::LINES` would assert trying to get
the `material_indices` (these are on the Face Domain -- which does not
exist here).

To resolve, early out if we know we handle LINES.

Probably didnt happen before 45cff837bc

Stumbled over this looking into !120737
2024-04-17 12:04:06 +02:00