Corrected small error in the 3ds io wrapper
This commit is contained in:
parent
1990de4809
commit
a9e78a1cf5
|
@ -362,7 +362,7 @@ namespace io {
|
|||
|
||||
if((mask & vcg::tri::io::Mask::IOM_FACECOLOR) | (mask & vcg::tri::io::Mask::IOM_WEDGTEXCOORD))
|
||||
{
|
||||
int material_index = vcg::tri::io::Materials<SaveMeshType>::CreateNewMaterial(m, materials, 0, fi);
|
||||
int material_index = vcg::tri::io::Materials<SaveMeshType>::CreateNewMaterial(m, materials, fi);
|
||||
if(material_index == (int)materials.size())
|
||||
{
|
||||
Lib3dsMaterial *material = lib3ds_material_new();//creates a new material
|
||||
|
|
Loading…
Reference in New Issue