Commit 7c4c83a3 authored by Martin Schultz's avatar Martin Schultz

fixed bug where meshes were doubled when bidirectional conversion was

applied on tri meshes
parent 9c05edd4
......@@ -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