Fixed handling of MeshFaceMaterial when material indices were not set in faces.
This happens when you use MeshFaceMaterial for a single material model (that's what was going on in Lucy example). Alternatively, we could set face.materialIndex by default to 0 instead of "undefined". This kinda makes sense, just would need to be checked if it wouldn't break things.
Showing
此差异已折叠。
想要评论请 注册 或 登录