mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
function name change to getWorkplaceDropToBuildplate
CURA-10542
This commit is contained in:
parent
f54d6099cd
commit
d68a454fa9
3 changed files with 3 additions and 3 deletions
|
@ -1083,7 +1083,7 @@ class CuraApplication(QtApplication):
|
|||
return self._text_manager
|
||||
|
||||
@pyqtSlot(bool)
|
||||
def getLocalDropToBuildplate(self, drop_to_build_plate: bool) ->None:
|
||||
def getWorkplaceDropToBuildplate(self, drop_to_build_plate: bool) ->None:
|
||||
return self._physics.setAppPerModelDropDown(drop_to_build_plate)
|
||||
|
||||
def getCuraFormulaFunctions(self, *args) -> "CuraFormulaFunctions":
|
||||
|
|
|
@ -301,7 +301,7 @@ class WorkspaceDialog(QObject):
|
|||
|
||||
@pyqtSlot(bool)
|
||||
def setDropToBuildPlateForModel(self, drop_to_buildplate: bool) -> None:
|
||||
CuraApplication.getInstance().getLocalDropToBuildplate(drop_to_buildplate)
|
||||
CuraApplication.getInstance().getWorkplaceDropToBuildplate(drop_to_buildplate)
|
||||
|
||||
|
||||
def setMaterialConflict(self, material_conflict: bool) -> None:
|
||||
|
|
|
@ -512,7 +512,7 @@ UM.PreferencesPage
|
|||
onCheckedChanged:
|
||||
{
|
||||
UM.Preferences.setValue("physics/automatic_drop_down", checked)
|
||||
CuraApplication.getLocalDropToBuildplate(checked)
|
||||
CuraApplication.getWorkplaceDropToBuildplate(checked)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue