mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix jobname when opening multiple files at once
This commit is contained in:
parent
6852e59404
commit
0af42587b0
1 changed files with 6 additions and 3 deletions
|
@ -666,10 +666,13 @@ UM.MainWindow
|
||||||
for(var i in fileUrls)
|
for(var i in fileUrls)
|
||||||
{
|
{
|
||||||
UM.MeshFileHandler.readLocalFile(fileUrls[i])
|
UM.MeshFileHandler.readLocalFile(fileUrls[i])
|
||||||
}
|
|
||||||
|
|
||||||
var meshName = backgroundItem.getMeshName(fileUrl.toString())
|
if (i == fileUrls.length - 1)
|
||||||
backgroundItem.hasMesh(decodeURIComponent(meshName))
|
{
|
||||||
|
var meshName = backgroundItem.getMeshName(fileUrls.toString())
|
||||||
|
backgroundItem.hasMesh(decodeURIComponent(meshName))
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue