Revert moving projectionInfo out

Need to handle this better. :/
This commit is contained in:
Ebag333
2016-11-03 22:15:40 -07:00
parent 928246a8ca
commit 832e7e6637

View File

@@ -466,16 +466,11 @@ class Fit(object):
timer = Timer(u'Fit: {}, {}'.format(self.ID, self.name), logger)
logger.debug("Starting fit calculation on: %r, withBoosters: %s", self, withBoosters)
try:
projectionInfo = self.getProjectionInfo(targetFit.ID)
except:
pass
else:
logger.debug("ProjectionInfo: %s", projectionInfo)
shadow = False
if targetFit:
logger.debug("Applying projections to target: %r", targetFit)
projectionInfo = self.getProjectionInfo(targetFit.ID)
logger.debug("ProjectionInfo: %s", projectionInfo)
if self == targetFit:
copied = self # original fit
shadow = True