Make it possible to skip project file check in readLocalFile()

CURA-5203
This commit is contained in:
Lipu Fei 2018-04-10 11:40:22 +02:00
parent 95c6258d0f
commit 95f4515e93
4 changed files with 6 additions and 6 deletions

View file

@ -53,7 +53,7 @@ UM.Dialog
UM.Preferences.setValue("cura/choice_on_open_project", "open_as_model")
}
CuraApplication.readLocalFile(base.fileUrl)
CuraApplication.readLocalFile(base.fileUrl, true)
var meshName = backgroundItem.getMeshName(base.fileUrl.toString())
backgroundItem.hasMesh(decodeURIComponent(meshName))