Skip to content
Snippets Groups Projects
Commit 320730f8 authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

fixed slow MAE import; debug output cleanup

parent eaed2bd6
No related branches found
No related tags found
No related merge requests found
...@@ -364,14 +364,8 @@ mol::EntityHandle LoadMAE(const String& file_name) ...@@ -364,14 +364,8 @@ mol::EntityHandle LoadMAE(const String& file_name)
MAEReader reader(file_name); MAEReader reader(file_name);
mol::EntityHandle ent=mol::CreateEntity(); mol::EntityHandle ent=mol::CreateEntity();
mol::XCSEditor editor=ent.EditXCS(mol::BUFFERED_EDIT); mol::XCSEditor editor=ent.EditXCS(mol::BUFFERED_EDIT);
{ reader.Import(ent);
Profile profile("import MAE"); conop::Conopology::Instance().ConnectAll(builder,ent);
reader.Import(ent);
}
{
Profile profile("connect all");
conop::Conopology::Instance().ConnectAll(builder,ent);
}
return ent; return ent;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment