mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -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
|
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":
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue