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

Scene Win: Fix for backbone view

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1748 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 0763e5df
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ EntityNode::EntityNode(gfx::EntityP& entity, SceneNode* parent): ...@@ -42,7 +42,7 @@ EntityNode::EntityNode(gfx::EntityP& entity, SceneNode* parent):
SceneNode* quick_selection = new LabelNode("Quick Selection",this); SceneNode* quick_selection = new LabelNode("Quick Selection",this);
model->AddNode(this, quick_selection); model->AddNode(this, quick_selection);
SceneNode* node = new EntityPartNode("Backbone", entity, mol::QueryViewWrapper(entity->GetView().Select("aname=CA,C,N,CO")), quick_selection); SceneNode* node = new EntityPartNode("Backbone", entity, mol::QueryViewWrapper(entity->GetView().Select("aname=CA,C,N,CO,O")), quick_selection);
model->AddNode(quick_selection, node); 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 ele=C")), quick_selection);
model->AddNode(quick_selection, node); 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