Cura/plugins/CuraEngineBackend
Ghostkeeper 452fe3972f
Don't cache CuraApplication singleton
This is causing a crash if self._application is used before the __init__ has finished (or at least passed the definition of self._application). That can happen in this class since some functions are called asynchronously.
It would also make writing tests easier because you can mock the getInstance() function to return a mock object, and only need to monkeypatch that for the function under test rather than also for the constructor.

Fixes Sentry issue CURA-1B5.
2020-10-16 12:05:21 +02:00
..
__init__.py Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Cura.proto Ensure that the primetower gets drawn in the right color again 2019-01-04 14:59:26 +01:00
CuraEngineBackend.py Don't cache CuraApplication singleton 2020-10-16 12:05:21 +02:00
plugin.json Update the SDK version to 7.3.0 for 4.7 2020-08-07 11:12:27 +02:00
ProcessGCodeJob.py WIP: Refactor BuildPlateModel and split MultiBuildPlateModel 2018-02-17 22:24:05 +01:00
ProcessSlicedLayersJob.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
StartSliceJob.py Exclude objects outside buildplate from OneAtATimeIterator 2020-10-14 17:14:38 +02:00