From 2951648dcf10a09af855be60af7361611cc0ad79 Mon Sep 17 00:00:00 2001 From: Skybladev2 Date: Sun, 5 Apr 2026 21:58:41 +0300 Subject: [PATCH 1/2] fix tab switch when projected is mutually applied --- eos/saveddata/fit.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eos/saveddata/fit.py b/eos/saveddata/fit.py index eb4587b61..2b9c6b5ba 100644 --- a/eos/saveddata/fit.py +++ b/eos/saveddata/fit.py @@ -1107,6 +1107,11 @@ def calculateModifiedAttributes(self, targetFit=None, type=CalcType.LOCAL): # tabs. See GH issue 1193 if type == CalcType.COMMAND and targetFit in self.commandFits: pyfalog.debug("{} is in the command listing for COMMAND ({}), do not mark self as calculated (recursive)".format(repr(targetFit), repr(self))) + elif type == CalcType.PROJECTED: + # A projected-source pass only applies this fit's remote effects to the target; it is not a full local + # calculation of this fit. Marking calculated would make switchFit skip recalc, so bidirectional + # projections show wrong stats when switching tabs until the projection is toggled. + pass else: self.__calculated = True From 664e5820cb6d3807631e3add5d4a8c587571e61a Mon Sep 17 00:00:00 2001 From: Skybladev2 Date: Sun, 5 Apr 2026 22:01:52 +0300 Subject: [PATCH 2/2] adujst logs --- eos/saveddata/fit.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/eos/saveddata/fit.py b/eos/saveddata/fit.py index 2b9c6b5ba..512a57569 100644 --- a/eos/saveddata/fit.py +++ b/eos/saveddata/fit.py @@ -1108,10 +1108,7 @@ def calculateModifiedAttributes(self, targetFit=None, type=CalcType.LOCAL): if type == CalcType.COMMAND and targetFit in self.commandFits: pyfalog.debug("{} is in the command listing for COMMAND ({}), do not mark self as calculated (recursive)".format(repr(targetFit), repr(self))) elif type == CalcType.PROJECTED: - # A projected-source pass only applies this fit's remote effects to the target; it is not a full local - # calculation of this fit. Marking calculated would make switchFit skip recalc, so bidirectional - # projections show wrong stats when switching tabs until the projection is toggled. - pass + pyfalog.debug("{} is projecting onto {} (PROJECTED), do not mark self as calculated (not a full local calc)".format(repr(self), repr(targetFit))) else: self.__calculated = True