Skip to content
Snippets Groups Projects
Commit 6064e66f authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'fixDoubleMesh' into 'master'

fixed bug where meshes were doubled when bidirectional conversion was

See merge request !1
parents 9c05edd4 7c4c83a3
No related branches found
No related tags found
1 merge request!1fixed bug where meshes were doubled when bidirectional conversion was
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment