diff --git a/modules/gfx/src/entity.cc b/modules/gfx/src/entity.cc index cc22611e50f903d9f472a8892cdfc26c353fb2b0..1c2927359581ac374aa14bb53942715071cc2edd 100644 --- a/modules/gfx/src/entity.cc +++ b/modules/gfx/src/entity.cc @@ -767,8 +767,12 @@ void Entity::SetSelection(const mol::EntityView& view) sel_=view; } this->UpdateSelection(); - this->FlagRebuild(); - Scene::Instance().SelectionChanged(GetName(), view); + this->FlagRebuild(); + // SB: The following function was found do to nothing. + // It just makes selecting entities in dng window slow. + // If at some point, selecting requires a certain action to be carried out on + // each observer, comment in again. + //Scene::Instance().SelectionChanged(GetName(), view); Scene::Instance().RequestRedraw(); }