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

SceneWin:

-added Water to Quick Selection
-fixed Ligands selection

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1818 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 81520421
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,9 @@ EntityNode::EntityNode(gfx::EntityP& entity, SceneNode* parent):
model->AddNode(quick_selection, node);
node = new EntityPartNode("Sidechains", entity, mol::QueryViewWrapper(entity->GetView().Select("aname!=CA,C,N,O and peptide=true")), quick_selection);
model->AddNode(quick_selection, node);
node = new EntityPartNode("Ligands", entity, mol::QueryViewWrapper(entity->GetView().Select("ishetatm=1 and ele=C")), quick_selection);
node = new EntityPartNode("Ligands", entity, mol::QueryViewWrapper(entity->GetView().Select("ishetatm=1 and rname!=HOH,WAT")), quick_selection);
model->AddNode(quick_selection, node);
node = new EntityPartNode("Water", entity, mol::QueryViewWrapper(entity->GetView().Select("rname=HOH,WAT")), quick_selection);
model->AddNode(quick_selection, node);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment