diff --git a/wrap/gl/trimesh.h b/wrap/gl/trimesh.h index 185c6d8d..5d404040 100644 --- a/wrap/gl/trimesh.h +++ b/wrap/gl/trimesh.h @@ -898,7 +898,7 @@ the new (and old) vertexes are put in a std::vector that is swapped with the ori template void Crease(MESH_TYPE &m, typename MESH_TYPE::scalar_type angleRad) { - assert(m.HasFFTopology()); + assert(HasFFTopology(m)); typename MESH_TYPE::scalar_type cosangle=Cos(angleRad); std::vector > SPL;