summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.py')
-rw-r--r--src/ui.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ui.py b/src/ui.py
index ba63320..d5f9cdf 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -988,10 +988,11 @@ class KPAnmOptions(QtGui.QWidget):
anmList.append(rowList)
for doodad in self.doodadList:
- d = doodad()
+ if doodad() != None:
+ d = doodad()
- d.animations = anmList
- d.setupAnimations()
+ d.animations = anmList
+ d.setupAnimations()
model.clear()
self.model.setHorizontalHeaderLabels(["Looping", "Interpolation", "Frame Len", "Type", "Start Value", "End Value", "Delay", "Delay Offset"])
@@ -1365,7 +1366,7 @@ class KPMainWindow(QtGui.QMainWindow):
fn = unicode(fn)
for d in KP.map.doodadDefinitions:
- d[1].save(fn + d[0] + '.png', 'PNG')
+ d[1].save(fn + '/' + d[0] + '.png', 'PNG')
def batchSave(self):