mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
fix local skybox file reference on windows
This commit is contained in:
parent
0bb3f1c9dc
commit
3216202a8b
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ void SkyboxBakeWidget::bakeButtonClicked() {
|
|||
QUrl skyboxToBakeURL(fileURLString);
|
||||
|
||||
// if the URL doesn't have a scheme, assume it is a local file
|
||||
if (skyboxToBakeURL.scheme().isEmpty()) {
|
||||
if (skyboxToBakeURL.scheme() != "http" && skyboxToBakeURL.scheme() != "https" && skyboxToBakeURL.scheme() != "ftp") {
|
||||
skyboxToBakeURL.setScheme("file");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue