From a25eed1ab741053d5996ebca96d5e37066cb39b2 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 23 Sep 2012 05:05:46 +0200 Subject: added new animations --- src/editorui/paths.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/editorui') 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) -- cgit v1.2.3