Skip to content
Snippets Groups Projects
Commit 945d8da7 authored by stefan's avatar stefan
Browse files

Fixed current selection in scene win

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1776 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 82ec2690
No related branches found
No related tags found
No related merge requests found
...@@ -40,10 +40,7 @@ void CurrentSelectionNode::SetQueryView(mol::QueryViewWrapper part) ...@@ -40,10 +40,7 @@ void CurrentSelectionNode::SetQueryView(mol::QueryViewWrapper part)
mol::QueryViewWrapper CurrentSelectionNode::GetQueryView() const 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_; return wrapper_;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment