mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Removed debug. Toned down a FIXME.
CURA-3335 Single instance Cura and model reloading
This commit is contained in:
parent
8a4b6adfb3
commit
34793e06fb
1 changed files with 1 additions and 2 deletions
|
@ -445,7 +445,6 @@ class CuraApplication(QtApplication):
|
|||
line = remote_cura_connection.readLine()
|
||||
while len(line) != 0: # There is also a .canReadLine()
|
||||
try:
|
||||
Logger.log('d', "JSON command: " + str(line, encoding="ASCII"))
|
||||
payload = json.loads(str(line, encoding="ASCII").strip())
|
||||
command = payload["command"]
|
||||
|
||||
|
@ -456,7 +455,7 @@ class CuraApplication(QtApplication):
|
|||
# Command: Load a model file
|
||||
elif command == "open":
|
||||
self._openFile(payload["filePath"])
|
||||
# FIXME ^ this method is async and we really should wait until
|
||||
# WARNING ^ this method is async and we really should wait until
|
||||
# the file load is complete before processing more commands.
|
||||
|
||||
# Command: Activate the window and bring it to the top.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue