summaryrefslogtreecommitdiff
path: root/src/editorui/doodads.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/editorui/doodads.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/editorui/doodads.py b/src/editorui/doodads.py
index 07eca43..6bb4576 100644
--- a/src/editorui/doodads.py
+++ b/src/editorui/doodads.py
@@ -365,8 +365,8 @@ class KPEditorDoodad(KPEditorItem):
self._updateSize()
self._updateTransform()
- self.anmButton = self.DoodadAnmButton(self._doodadRef)
- self.anmProxy = self.HiddenProxy(self.anmButton, self, self.boundingRect().right() - 101, self.boundingRect().bottom() - 25)
+ # self.anmButton = self.DoodadAnmButton(self._doodadRef)
+ # self.anmProxy = self.HiddenProxy(self.anmButton, self, self.boundingRect().right() - 101, self.boundingRect().bottom() - 25)
self.setAcceptHoverEvents(True)
@@ -377,7 +377,6 @@ class KPEditorDoodad(KPEditorItem):
KPEditorDoodad.SELECTION_PEN = QtGui.QPen(Qt.red, 1, Qt.DotLine)
-
def _updatePixmap(self):
pixmap = self.source[1]
@@ -418,11 +417,6 @@ class KPEditorDoodad(KPEditorItem):
if self.isSelected():
painter.setPen(self.SELECTION_PEN)
painter.drawRect(self._selectionRect)
-
- self.anmProxy.show()
-
- else:
- self.anmProxy.hide()
def _itemMoved(self, oldX, oldY, newX, newY):