mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 00:04:18 +02: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