From 320730f8a93fe792176be7a3269e302eda125b77 Mon Sep 17 00:00:00 2001 From: Ansgar Philippsen <ansgar.philippsen@gmail.com> Date: Thu, 24 Feb 2011 15:43:22 -0500 Subject: [PATCH] fixed slow MAE import; debug output cleanup --- modules/io/src/mol/entity_io_mae_handler.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/io/src/mol/entity_io_mae_handler.cc b/modules/io/src/mol/entity_io_mae_handler.cc index 73c7c822b..a60b913f3 100644 --- a/modules/io/src/mol/entity_io_mae_handler.cc +++ b/modules/io/src/mol/entity_io_mae_handler.cc @@ -364,14 +364,8 @@ mol::EntityHandle LoadMAE(const String& file_name) MAEReader reader(file_name); mol::EntityHandle ent=mol::CreateEntity(); mol::XCSEditor editor=ent.EditXCS(mol::BUFFERED_EDIT); - { - Profile profile("import MAE"); - reader.Import(ent); - } - { - Profile profile("connect all"); - conop::Conopology::Instance().ConnectAll(builder,ent); - } + reader.Import(ent); + conop::Conopology::Instance().ConnectAll(builder,ent); return ent; } -- GitLab