summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/editorui/paths.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/editorui/paths.py b/src/editorui/paths.py
index 394b82a..ca400ee 100644
--- a/src/editorui/paths.py
+++ b/src/editorui/paths.py
@@ -457,7 +457,8 @@ class KPEditorPath(QtGui.QGraphicsLineItem):
AnimationList = ["Walk", "WalkSand", "WalkSnow", "WalkWater",
"Jump", "JumpSand", "JumpSnow", "JumpWater",
"Ladder", "LadderLeft", "LadderRight", "Fall",
- "Swim", "Run", "Pipe", "Door"]
+ "Swim", "Run", "Pipe", "Door",
+ 'TJumped', 'Enter Cave Up', 'Reserved 18', 'Invisible']
self.ExclusiveButtons = QtGui.QButtonGroup()
@@ -465,7 +466,10 @@ class KPEditorPath(QtGui.QGraphicsLineItem):
j = 1
id = 0
for anim in AnimationList:
- newButton = QtGui.QPushButton(QtGui.QIcon("Resources/Anm/" + anim), "")
+ if id < 16:
+ newButton = QtGui.QPushButton(QtGui.QIcon("Resources/Anm/" + anim), "")
+ else:
+ newButton = QtGui.QPushButton(anim)
newButton.setCheckable(True)
newButton.setIconSize(QtCore.QSize(38, 38))
newButton.setToolTip(anim)