Removed debug. Toned down a FIXME.

CURA-3335 Single instance Cura and model reloading
This commit is contained in:
Simon Edwards 2017-02-08 11:41:30 +01:00
parent 8a4b6adfb3
commit 34793e06fb

View file

@ -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.