mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Add main stage to previewStage so that SimulationView can use it
CURA-5829
This commit is contained in:
parent
0a3803d665
commit
f773030218
7 changed files with 272 additions and 250 deletions
|
@ -117,7 +117,12 @@ class SimulationView(CuraView):
|
|||
|
||||
def _onEngineCreated(self) -> None:
|
||||
menu_component_path = os.path.join(PluginRegistry.getInstance().getPluginPath("SimulationView"),
|
||||
"SimulationView.qml")
|
||||
"SimulationViewMenuComponent.qml")
|
||||
|
||||
main_component_path = os.path.join(PluginRegistry.getInstance().getPluginPath("SimulationView"),
|
||||
"SimulationViewMainComponent.qml")
|
||||
|
||||
self.addDisplayComponent("main", main_component_path)
|
||||
self.addDisplayComponent("menu", menu_component_path)
|
||||
|
||||
def _evaluateCompatibilityMode(self) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue