Add main stage to previewStage so that SimulationView can use it

CURA-5829
This commit is contained in:
Jaime van Kessel 2018-10-31 09:37:21 +01:00
parent 0a3803d665
commit f773030218
7 changed files with 272 additions and 250 deletions

View file

@ -30,4 +30,6 @@ class PreviewStage(CuraStage):
plugin_path = self._application.getPluginRegistry().getPluginPath(self.getPluginId())
if plugin_path is not None:
menu_component_path = os.path.join(plugin_path, "PreviewMenu.qml")
main_component_path = os.path.join(plugin_path, "PreviewMain.qml")
self.addDisplayComponent("menu", menu_component_path)
self.addDisplayComponent("main", main_component_path)