Browse Source

Added logging to indicate reload all failed

CURA-1622
Jaime van Kessel 8 years ago
parent
commit
1d2f7b3c36
1 changed files with 2 additions and 3 deletions
  1. 2 3
      cura/CuraApplication.py

+ 2 - 3
cura/CuraApplication.py

@@ -695,15 +695,14 @@ class CuraApplication(QtApplication):
             return
 
         for node in nodes:
-            if not node.getMeshData():
-                continue
-
             file_name = node.getMeshData().getFileName()
             if file_name:
                 job = ReadMeshJob(file_name)
                 job._node = node
                 job.finished.connect(self._reloadMeshFinished)
                 job.start()
+            else:
+                Logger.log("w", "Unable to reload data because we don't have a filename.")
     
     ##  Get logging data of the backend engine
     #   \returns \type{string} Logging data