OBJLoader: When a new o/g starts, inherit the currently parsed material. (#9013)
Inherited material is overwritten if 'usemtl' declaration is encountered after the object starts but prior to next object start. Exception to this is when faces have been declared to the inherited material, to keep MultiMaterial in sync. Fixes #8792 and #8871.
Showing
想要评论请 注册 或 登录