def Refresh(self): if self.viewport is None: return with LockViewport(self.viewport): DrawableManager.Refresh(self) if self.hist: self.hist.Refresh()
def Refresh(self): if self.viewport is None: return self.viewport.LockUpdate() DrawableManager.Refresh(self) if self.hist: self.hist.Refresh() self.viewport.UnlockUpdate()