diff --git a/wrap/io_trimesh/export_obj.h b/wrap/io_trimesh/export_obj.h index cb878a24..6e00ca5f 100644 --- a/wrap/io_trimesh/export_obj.h +++ b/wrap/io_trimesh/export_obj.h @@ -129,8 +129,8 @@ public: int current = 0; int totalPrimitives = m.vn+m.fn; - typename SaveMeshType::template PerMeshAttributeHandle> materialsHandle = - vcg::tri::Allocator::template FindPerMeshAttribute>(m, "materials"); + typename SaveMeshType::template PerMeshAttributeHandle > materialsHandle = + vcg::tri::Allocator::template FindPerMeshAttribute >(m, "materials"); std::string fn(filename); int LastSlash=fn.size()-1; diff --git a/wrap/io_trimesh/import_obj.h b/wrap/io_trimesh/import_obj.h index 8f374dda..7b6a3bde 100644 --- a/wrap/io_trimesh/import_obj.h +++ b/wrap/io_trimesh/import_obj.h @@ -256,8 +256,8 @@ namespace vcg { return E_CANTOPEN; } - typename OpenMeshType::template PerMeshAttributeHandle> materialsHandle = - vcg::tri::Allocator:: template GetPerMeshAttribute>(m, std::string("materials")); + typename OpenMeshType::template PerMeshAttributeHandle > materialsHandle = + vcg::tri::Allocator:: template GetPerMeshAttribute >(m, std::string("materials")); typename OpenMeshType::template PerFaceAttributeHandle mIndHandle = vcg::tri::Allocator:: template GetPerFaceAttribute(m, std::string("mInd")); std::vector& materials = materialsHandle(); // materials vector