mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 04:09:01 +08:00
function name change to getWorkplaceDropToBuildplate
CURA-10542
This commit is contained in:
parent
f54d6099cd
commit
d68a454fa9
@ -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…
x
Reference in New Issue
Block a user