mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00

Since we are going to move all the views into a seperate stage, we need to add another stage to do that. CURA-5829
13 lines
No EOL
420 B
Python
13 lines
No EOL
420 B
Python
# Copyright (c) 2018 Ultimaker B.V.
|
|
# Cura is released under the terms of the LGPLv3 or higher.
|
|
from UM.Application import Application
|
|
from cura.Stages.CuraStage import CuraStage
|
|
|
|
|
|
class PreviewStage(CuraStage):
|
|
def __init__(self, parent = None) -> None:
|
|
super().__init__(parent)
|
|
Application.getInstance().engineCreatedSignal.connect(self._engineCreated)
|
|
|
|
def _engineCreated(self):
|
|
return |