function name change to getWorkplaceDropToBuildplate

CURA-10542
This commit is contained in:
saumya.jain 2024-02-15 11:35:09 +01:00
parent f54d6099cd
commit d68a454fa9
3 changed files with 3 additions and 3 deletions

View file

@ -1083,7 +1083,7 @@ class CuraApplication(QtApplication):
return self._text_manager return self._text_manager
@pyqtSlot(bool) @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) return self._physics.setAppPerModelDropDown(drop_to_build_plate)
def getCuraFormulaFunctions(self, *args) -> "CuraFormulaFunctions": def getCuraFormulaFunctions(self, *args) -> "CuraFormulaFunctions":

View file

@ -301,7 +301,7 @@ class WorkspaceDialog(QObject):
@pyqtSlot(bool) @pyqtSlot(bool)
def setDropToBuildPlateForModel(self, drop_to_buildplate: bool) -> None: 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: def setMaterialConflict(self, material_conflict: bool) -> None:

View file

@ -512,7 +512,7 @@ UM.PreferencesPage
onCheckedChanged: onCheckedChanged:
{ {
UM.Preferences.setValue("physics/automatic_drop_down", checked) UM.Preferences.setValue("physics/automatic_drop_down", checked)
CuraApplication.getLocalDropToBuildplate(checked) CuraApplication.getWorkplaceDropToBuildplate(checked)
} }
} }
} }