-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REV] Charts: Do not rely on history for the chartRuntimes
Since [1], the commands "UNDO" and "REDO" no longer invalidate the chart evaluation as it was supposedly handled by the plugin history. However, the ChartEvaluation plugin would lazy create the chart runtime and update the history outside of the dispatch context (the changes are therefore not recorded). After some consideration, we consider that the storage cost of the objects `ChartRuntime` is greater than having to invalidate/recompute it at each UNDO/REDO. We therefore revert the change. [1] #2408 closes #3150 Task: 3578417 X-original-commit: 80bd3b3 Signed-off-by: Lucas Lefèvre (lul) <[email protected]> Signed-off-by: Rémi Rahir (rar) <[email protected]>
- Loading branch information
Showing
2 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters