mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 02:06:30 +02:00
Fix model baking GUI being less lenient with local Windows files
This commit is contained in:
parent
41c0594361
commit
f9f55f08db
1 changed files with 2 additions and 2 deletions
|
@ -176,9 +176,9 @@ void ModelBakeWidget::bakeButtonClicked() {
|
|||
auto fileURLStrings = _modelLineEdit->text().split(',');
|
||||
foreach (QString fileURLString, fileURLStrings) {
|
||||
// construct a URL from the path in the model file text box
|
||||
QUrl modelToBakeURL(fileURLString);
|
||||
QUrl modelToBakeURL = QUrl::fromUserInput(fileURLString);
|
||||
|
||||
QUrl bakeableModelURL = getBakeableModelURL(QUrl(modelToBakeURL));
|
||||
QUrl bakeableModelURL = getBakeableModelURL(modelToBakeURL);
|
||||
if (!bakeableModelURL.isEmpty()) {
|
||||
auto getWorkerThreadCallback = []() -> QThread* {
|
||||
return Oven::instance().getNextWorkerThread();
|
||||
|
|
Loading…
Reference in a new issue