tangent-opensource / blender

Tangent Animation's Blender Fork | More information ->
https://github.com/tangent-devops/tangent-blender/wiki
Other
9 stars 6 forks source link

USD Export: Invisible mesh on export #15

Open Vochsel opened 3 years ago

Vochsel commented 3 years ago

The Blender face instancing toggle for "Render instancer" is always respected, even if instancing for that mesh is set to none.

Seems like the problem line is around here:

https://github.com/tangent-opensource/blender/blob/ta-usd-export/source/blender/io/usd/intern/usd_writer_mesh.cc#L154

prim.SetActive((object_eval->duplicator_visibility_flag & OB_DUPLI_FLAG_RENDER) != 0);