mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #8076 from ZappoMan/reduceLogSpam
don't log spam on empty URL
This commit is contained in:
commit
3b132e7376
1 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,9 @@ bool Procedural::parseVersion(const QJsonValue& version) {
|
|||
|
||||
bool Procedural::parseUrl(const QUrl& shaderUrl) {
|
||||
if (!shaderUrl.isValid()) {
|
||||
qWarning() << "Invalid shader URL: " << shaderUrl;
|
||||
if (!shaderUrl.isEmpty()) {
|
||||
qWarning() << "Invalid shader URL: " << shaderUrl;
|
||||
}
|
||||
_networkShader.reset();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue