mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 21:05:55 +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
|
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…
x
Reference in New Issue
Block a user