Esempio n. 1
0
 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
Esempio n. 2
0
 def on_select_changed(self, foo):
     GLFrameBase.on_select_changed(self, foo)
     self.invalidate_draw_list()
Esempio n. 3
0
 def revalidate_bounding_box(self):
     GLFrameBase.revalidate_bounding_box(self)
     FrameAxes.extend_bounding_box(self, self.bounding_box)
Esempio n. 4
0
 def draw(self):
     FrameAxes.draw(self, self.selected)
     GLFrameBase.draw(self)
Esempio n. 5
0
 def initnonstate(self):
     GLFrameBase.initnonstate(self, Complete)
Esempio n. 6
0
 def on_select_changed(self, foo):
     GLFrameBase.on_select_changed(self, foo)
     self.invalidate_draw_list()
Esempio n. 7
0
 def revalidate_bounding_box(self):
     GLFrameBase.revalidate_bounding_box(self)
     FrameAxes.extend_bounding_box(self, self.bounding_box)
Esempio n. 8
0
 def draw(self):
     FrameAxes.draw(self, self.selected)
     GLFrameBase.draw(self)
Esempio n. 9
0
 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
Esempio n. 10
0
 def initnonstate(self):
     GLFrameBase.initnonstate(self, Complete)