removed the preference made it a member of class platformphysics

CURA-10542
This commit is contained in:
saumya.jain 2024-02-15 11:23:34 +01:00
parent fbf21e2b6f
commit f54d6099cd
5 changed files with 28 additions and 13 deletions

View file

@ -1082,6 +1082,10 @@ class CuraApplication(QtApplication):
def getTextManager(self, *args) -> "TextManager":
return self._text_manager
@pyqtSlot(bool)
def getLocalDropToBuildplate(self, drop_to_build_plate: bool) ->None:
return self._physics.setAppPerModelDropDown(drop_to_build_plate)
def getCuraFormulaFunctions(self, *args) -> "CuraFormulaFunctions":
if self._cura_formula_functions is None:
self._cura_formula_functions = CuraFormulaFunctions(self)