comparison clients/editor/plugins/ObjectEdit.py @ 316:6add14ebe9f5

Disabled recursing for some adaptLayout calls. This will make the editor more responsive
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 15 Aug 2009 00:42:23 +0000
parents af0b233e246f
children dfd48d49c044
comparison
equal deleted inserted replaced
315:21999e058c7b 316:6add14ebe9f5
319 print "Internal FIFE rotation: ", self._instances[0].getRotation() 319 print "Internal FIFE rotation: ", self._instances[0].getRotation()
320 print "Fixed rotation (cam rot) ", self._fixed_rotation + int(abs(self._camera.getRotation())) 320 print "Fixed rotation (cam rot) ", self._fixed_rotation + int(abs(self._camera.getRotation()))
321 print "Collected rots from object ", self._avail_rotations 321 print "Collected rots from object ", self._avail_rotations
322 322
323 323
324 self.container.adaptLayout() 324 self.container.adaptLayout(False)
325 325
326 def toggle_gui(self): 326 def toggle_gui(self):
327 """ 327 """
328 show / hide the gui 328 show / hide the gui
329 """ 329 """
649 self.container.show() 649 self.container.show()
650 else: 650 else:
651 self._reset() 651 self._reset()
652 self.container.hide() 652 self.container.hide()
653 653
654 self.container.adaptLayout() 654 self.container.adaptLayout(False)