def __init__(self, editorInstance): self.enabled = False self.editorInstance = editorInstance self.objectEditorVisible = False self.lastSelectedModel = None self.texturePainterGui = TexturePainterGui(self) self.menuBarGui = MenuBarGui(self)