bit of clean up for reload setting

This commit is contained in:
blitzmann
2018-02-18 20:35:46 -05:00
parent 35ad21da38
commit 42ccc53166
2 changed files with 5 additions and 5 deletions

View File

@@ -1205,10 +1205,12 @@ class Fit(object):
def recalc(self, fit):
start_time = time()
pyfalog.info("=" * 10 + "recalc: {0}" + "=" * 10, fit.name)
if fit.factorReload is not self.serviceFittingOptions["useGlobalForceReload"]:
fit.factorReload = self.serviceFittingOptions["useGlobalForceReload"]
fit.factorReload = self.serviceFittingOptions["useGlobalForceReload"]
fit.clear()
fit.calculateModifiedAttributes()
pyfalog.info("=" * 10 + "recalc time: " + str(time() - start_time) + "=" * 10)