Example #1
0
 def Draw(self, viewport):
     self.viewport = viewport
     self.viewport.LockUpdate()
     DrawableManager.Draw(self, viewport)
     if self.hist:
         self.hist.Draw(viewport)
     self.viewport.UnlockUpdate()
Example #2
0
 def Draw(self, viewport):
     self.viewport = viewport
     with LockViewport(self.viewport):
         DrawableManager.Draw(self, viewport)
         if self.hist:
             self.hist.Draw(viewport)