def check_add(Class, ModelObjectClass): if not GLFrameBase.check_add(ModelObjectClass): return False Universe = context.application.plugins.get_node("Universe") if issubclass(ModelObjectClass, Universe): return False return True
def on_select_changed(self, foo): GLFrameBase.on_select_changed(self, foo) self.invalidate_draw_list()
def revalidate_bounding_box(self): GLFrameBase.revalidate_bounding_box(self) FrameAxes.extend_bounding_box(self, self.bounding_box)
def draw(self): FrameAxes.draw(self, self.selected) GLFrameBase.draw(self)
def initnonstate(self): GLFrameBase.initnonstate(self, Complete)