mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
D5: Refactoring
This commit is contained in:
parent
1631045d7a
commit
cd7979e301
3 changed files with 102 additions and 105 deletions
|
@ -546,6 +546,10 @@ class CuraApplication(QtApplication):
|
|||
|
||||
def changeToLayerView(self):
|
||||
self.getController().setActiveView("LayerView")
|
||||
view = self.getController().getActiveView()
|
||||
view.resetLayerData()
|
||||
view.setLayer(999999)
|
||||
view.calculateMaxLayers()
|
||||
|
||||
@pyqtSlot(QUrl)
|
||||
def loadFile(self, file):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue