From 7804d9aea05d6330f3b7aa044624e0f045c10f7e Mon Sep 17 00:00:00 2001
From: Marco Biasini <marco.biasini@unibas.ch>
Date: Sun, 20 Feb 2011 11:16:12 +0100
Subject: [PATCH] added overload to Entity.selection that accepts a string:

ent.selection='aname=CA'

is equivalent to

ent.selection=ent.view.Select('aname=CA')
---
 t.py | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 t.py

diff --git a/t.py b/t.py
new file mode 100644
index 000000000..79d529917
--- /dev/null
+++ b/t.py
@@ -0,0 +1,5 @@
+import desost_util
+e=io.LoadPDB("examples/demos/data/sh2.pdb")
+desost_util.RunStride(e,True)
+scene.Add(gfx.Entity("t",gfx.HSC,e))
+
-- 
GitLab