Пример #1
0
 def Refresh(self):
     if self.viewport is None:
         return
     with LockViewport(self.viewport):
         DrawableManager.Refresh(self)
         if self.hist:
             self.hist.Refresh()
Пример #2
0
 def Refresh(self):
     if self.viewport is None:
         return
     self.viewport.LockUpdate()
     DrawableManager.Refresh(self)
     if self.hist:
         self.hist.Refresh()
     self.viewport.UnlockUpdate()