def paintGL(self): if not USE_QOPENGLWIDGET: glViewport(0, 0, int(self.fb_scale * self.width()), int(self.fb_scale * self.height())) self.pymol.draw() self._timer.start(0)
def paintGL(self): glViewport(0, 0, int(self.fb_scale * self.width()), int(self.fb_scale * self.height())) self.pymol.draw() self._timer.start(0)