def __init__(self, sch, **kw): GLPerspective.__init__(self, **kw) # self, xmin= -32, xmax=32, ymin= -32, ymax=32, near= -1000, far=1000) self.far = 16000 self.schematic = sch self.renderer = PreviewRenderer(sch) self.fboSize = (128, 128) self.root = self.get_root()
def __init__(self, sch, **kw): GLPerspective.__init__(self, **kw) # self, xmin= -32, xmax=32, ymin= -32, ymax=32, near= -1000, far=1000) self.p_margin = 0 self.p_spacing = 0 self.widget_index = 0 self.set_position_modifiers() self.far = 16000 self.schematic = sch self.renderer = PreviewRenderer(sch) self.fboSize = (128, 128) self.root = self.get_root()