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
This commit is contained in:
Jaime van Kessel 2018-10-29 11:28:08 +01:00
parent 90e8a05aab
commit 3248a05819
5 changed files with 47 additions and 1 deletions

View file

@ -0,0 +1,13 @@
# 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