self.totalDoneFactor = 0.0
self.startTime = time.time()
if profile.getPreference('save_profile') == 'True':
- profile.saveGlobalProfile(self.filelist[0][: self.filelist[0].rfind('.')] + "_profile.ini")
+ profile.saveProfile(self.filelist[0][: self.filelist[0].rfind('.')] + "_profile.ini")
center = profile.getMachineCenterCoords() + profile.getObjectMatrix()
cmdList = [sliceRun.getSliceCommand(sliceRun.getExportFilename(self.filelist[0]), ['|'.join(self.filelist)], [center])]
self.thread = WorkerThread(self, filelist, cmdList)