diff --git a/modules/gui/src/scene_win/current_selection_node.cc b/modules/gui/src/scene_win/current_selection_node.cc index 2906e5073a848bb824bdd5a3db3dc90d2a15987e..c8b0eb03cff2c81aad85d48a8d94479f533d8ad6 100644 --- a/modules/gui/src/scene_win/current_selection_node.cc +++ b/modules/gui/src/scene_win/current_selection_node.cc @@ -40,10 +40,7 @@ void CurrentSelectionNode::SetQueryView(mol::QueryViewWrapper part) mol::QueryViewWrapper CurrentSelectionNode::GetQueryView() const { - if(this->GetEntity()->GetSelection()!=wrapper_.GetEntityView()){ - wrapper_ = mol::QueryViewWrapper(this->GetEntity()->GetSelection()); - } - + wrapper_ = mol::QueryViewWrapper(this->GetEntity()->GetSelection()); return wrapper_; }