From a9e78a1cf532e0c6f7ba41a078e1e2d80e7722d9 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Thu, 29 Jun 2017 11:44:15 +0200 Subject: [PATCH] Corrected small error in the 3ds io wrapper --- wrap/io_trimesh/export_3ds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/io_trimesh/export_3ds.h b/wrap/io_trimesh/export_3ds.h index 387222f5..9a473b75 100644 --- a/wrap/io_trimesh/export_3ds.h +++ b/wrap/io_trimesh/export_3ds.h @@ -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::CreateNewMaterial(m, materials, 0, fi); + int material_index = vcg::tri::io::Materials::CreateNewMaterial(m, materials, fi); if(material_index == (int)materials.size()) { Lib3dsMaterial *material = lib3ds_material_new();//creates a new material