Duplicates materials whose referring primitives don't have the same attribute types. E.g. if a textured material is referenced by a primitive with both positions and uvs and a primitive with just positions, the material will be duplicated such that the first copy is unchanged and the second copy has textures removed.
Fixes https://github.com/AnalyticalGraphicsInc/obj2gltf/issues/160
Duplicates materials whose referring primitives don't have the same attribute types. E.g. if a textured material is referenced by a primitive with both positions and uvs and a primitive with just positions, the material will be duplicated such that the first copy is unchanged and the second copy has textures removed.
https://github.com/AnalyticalGraphicsInc/obj2gltf/pull/161 needs to be merged first in order for the tests to pass.
To do:
1.0
branch.