mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Fix some typos
This commit is contained in:
parent
cc89ddf5f7
commit
e6169a7c61
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2017 Ultimaker B.V.
|
# Copyright (c) 2018 Ultimaker B.V.
|
||||||
# Cura is released under the terms of the LGPLv3 or higher.
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
from PyQt5.QtCore import QObject, pyqtSignal, pyqtProperty
|
from PyQt5.QtCore import QObject, pyqtSignal, pyqtProperty
|
||||||
|
@ -117,7 +117,7 @@ class SimulationViewProxy(QObject):
|
||||||
def setSimulationViewType(self, layer_view_type):
|
def setSimulationViewType(self, layer_view_type):
|
||||||
active_view = self._controller.getActiveView()
|
active_view = self._controller.getActiveView()
|
||||||
if isinstance(active_view, SimulationView.SimulationView.SimulationView):
|
if isinstance(active_view, SimulationView.SimulationView.SimulationView):
|
||||||
active_view.setSimulationViewisinstance(layer_view_type)
|
active_view.setSimulationViewType(layer_view_type)
|
||||||
|
|
||||||
@pyqtSlot(result=int)
|
@pyqtSlot(result=int)
|
||||||
def getSimulationViewType(self):
|
def getSimulationViewType(self):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2017 Ultimaker B.V.
|
# Copyright (c) 2018 Ultimaker B.V.
|
||||||
# Cura is released under the terms of the LGPLv3 or higher.
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
from PyQt5.QtQml import qmlRegisterSingletonType
|
from PyQt5.QtQml import qmlRegisterSingletonType
|
||||||
|
@ -18,7 +18,7 @@ def getMetaData():
|
||||||
}
|
}
|
||||||
|
|
||||||
def createSimulationViewProxy(engine, script_engine):
|
def createSimulationViewProxy(engine, script_engine):
|
||||||
return SimulationViewProxy.SimulatorViewProxy()
|
return SimulationViewProxy.SimulationViewProxy()
|
||||||
|
|
||||||
def register(app):
|
def register(app):
|
||||||
simulation_view = SimulationView.SimulationView()
|
simulation_view = SimulationView.SimulationView()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue