Assertion fails in GLMatrixT when zooming to triangle
Steps to reproduce:
- Build in debug mode
- Add triangle:
int id;
emit addEmptyObject( DATA_TRIANGLE_MESH, id);
auto& mesh_obj = *PluginFunctions::triMeshObject(id);
auto& mesh = *PluginFunctions::triMesh(id);
mesh.add_vertex(TriMesh::Point(0,0,0));
mesh.add_vertex(TriMesh::Point(1,0,0));
mesh.add_vertex(TriMesh::Point(0,1,0));
mesh.add_face(OpenMesh::VertexHandle(0), OpenMesh::VertexHandle(1), OpenMesh::VertexHandle(2));
- Right click mesh in DataControl widget and click "zoom to object"