diff options
Diffstat (limited to 'src/ui.py')
-rw-r--r-- | src/ui.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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): |