Fix for CURA-4963

Exclude buildplate and nozzle meshes from being reloaded on F5 press.
This commit is contained in:
Ian Paschal 2018-02-15 11:20:46 +01:00
parent 44bf6579fd
commit bc47c6e623

View file

@ -1294,7 +1294,7 @@ class CuraApplication(QtApplication):
Logger.log("i", "Reloading all loaded mesh data.")
nodes = []
for node in DepthFirstIterator(self.getController().getScene().getRoot()):
if not isinstance(node, SceneNode) or not node.getMeshData():
if not isinstance(node, CuraSceneNode) or not node.getMeshData():
continue
nodes.append(node)