Commit 6064e66f authored by Jan Möbius's avatar Jan Möbius

Merge branch 'fixDoubleMesh' into 'master'

fixed bug where meshes were doubled when bidirectional conversion was

See merge request !1
parents 9c05edd4 7c4c83a3
......@@ -137,7 +137,7 @@ int MeshConvertPlugin::convert(int _id, bool _toTriMesh)
}
else
{
if( PluginFunctions::getMesh(_id,t))
if(!_toTriMesh && PluginFunctions::getMesh(_id,t))
{
PolyMesh converted = static_cast<PolyMesh>(*t);
emit addEmptyObject(DATA_POLY_MESH, newID);
......
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