Пример #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
Пример #2
0
 def on_select_changed(self, foo):
     GLFrameBase.on_select_changed(self, foo)
     self.invalidate_draw_list()
Пример #3
0
 def revalidate_bounding_box(self):
     GLFrameBase.revalidate_bounding_box(self)
     FrameAxes.extend_bounding_box(self, self.bounding_box)
Пример #4
0
 def draw(self):
     FrameAxes.draw(self, self.selected)
     GLFrameBase.draw(self)
Пример #5
0
 def initnonstate(self):
     GLFrameBase.initnonstate(self, Complete)
Пример #6
0
 def on_select_changed(self, foo):
     GLFrameBase.on_select_changed(self, foo)
     self.invalidate_draw_list()
Пример #7
0
 def revalidate_bounding_box(self):
     GLFrameBase.revalidate_bounding_box(self)
     FrameAxes.extend_bounding_box(self, self.bounding_box)
Пример #8
0
 def draw(self):
     FrameAxes.draw(self, self.selected)
     GLFrameBase.draw(self)
Пример #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
Пример #10
0
 def initnonstate(self):
     GLFrameBase.initnonstate(self, Complete)