Commit cf9310e2 authored by Martin Schultz's avatar Martin Schultz

Update MeshConvert.cc

removed local copy of id which caused an error when converting to polymesh
parent 549f023c
......@@ -136,7 +136,6 @@ int MeshConvertPlugin::convert(int _id, bool _toTriMesh)
if( PluginFunctions::getMesh(_id,t))
{
PolyMesh converted = static_cast<PolyMesh>(*t);
int newID = -1;
emit addEmptyObject(DATA_POLY_MESH, newID);
if(PluginFunctions::getMesh(newID,p))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment