Cura/plugins/PreviewStage/PreviewStage.py
Jaime van Kessel 3248a05819 Add PreviewStagePlugin stubs
Since we are going to move all the views into a seperate stage, we need to add another stage to do that.

CURA-5829
2018-10-29 11:28:08 +01:00

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