mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-08 08:39:01 +08:00
That is not how we do an if.
This commit is contained in:
parent
8cbf2456ac
commit
ceb6f43b11
@ -165,8 +165,11 @@ class CuraEngineBackend(Backend):
|
||||
self._socket.sendMessage(msg)
|
||||
|
||||
def _sendSettings(self):
|
||||
self._sendSettings_neith() if self._settings.getSettingValueByKey('wireframe') else self._sendSettings_normal()
|
||||
|
||||
if self._settings.getSettingValueByKey('wireframe'):
|
||||
self._sendSettings_neith()
|
||||
else:
|
||||
self._sendSettings_normal()
|
||||
|
||||
def _sendSettings_neith(self):
|
||||
extruder = 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user