mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 18:05:55 +08:00
Remove unused function
No longer used due to fix for setting rework. Contributes to issues CURA-1278 and CURA-1288.
This commit is contained in:
parent
c8de272ec4
commit
9217dd3e1b
@ -221,15 +221,6 @@ class CuraEngineBackend(Backend):
|
|||||||
if error.getErrorCode() not in [Arcus.ErrorCode.BindFailedError, Arcus.ErrorCode.ConnectionResetError, Arcus.ErrorCode.Debug]:
|
if error.getErrorCode() not in [Arcus.ErrorCode.BindFailedError, Arcus.ErrorCode.ConnectionResetError, Arcus.ErrorCode.Debug]:
|
||||||
Logger.log("e", "A socket error caused the connection to be reset")
|
Logger.log("e", "A socket error caused the connection to be reset")
|
||||||
|
|
||||||
def _onActiveProfileChanged(self):
|
|
||||||
if self._profile:
|
|
||||||
self._profile.settingValueChanged.disconnect(self._onSettingChanged)
|
|
||||||
|
|
||||||
self._profile = Application.getInstance().getMachineManager().getWorkingProfile()
|
|
||||||
if self._profile:
|
|
||||||
self._profile.settingValueChanged.connect(self._onSettingChanged)
|
|
||||||
self._onChanged()
|
|
||||||
|
|
||||||
## A setting has changed, so check if we must reslice.
|
## A setting has changed, so check if we must reslice.
|
||||||
#
|
#
|
||||||
# \param instance The setting instance that has changed.
|
# \param instance The setting instance that has changed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user