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

dokk (the docking game):

 - fixed timer bug
 - detail of ligand sphere

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1960 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 81de9df3
No related branches found
No related tags found
Loading
......@@ -111,6 +111,7 @@ class Level(QtCore.QObject):
def Reset(self):
self.endtime = 0
self.stop_time = 0
self.timer.stop()
self.CleanHUD()
self.ResetPos()
self.emit(QtCore.SIGNAL("Stopped()"))
......
......@@ -7,6 +7,7 @@ class Ligand:
self.the_solution_=ligand.Copy().CreateFullView()
self.go=gfx.Entity("Ligand", gfx.CPK, self.handle)
self.go.SetColor(gfx.GREEN, 'ele=C')
self.go.cpk_options.SetSphereDetail(7)
gfx.Scene().Add(self.go)
gfx.Scene().SetCenter(self.go.center)
bbox=self.go.GetBoundingBox()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment