From 09945a34006be9adabff90fc98b4bdc01ed96384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= Date: Sat, 26 Dec 2015 14:35:17 +0200 Subject: [PATCH] Resources|Models|Client: Removed a warning about model skins The warning was converted to a regular log entry, because at this time we haven't yet checked if DEDs specify a custom skin for the model. Fixes #2140 --- doomsday/apps/client/src/resource/resourcesystem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doomsday/apps/client/src/resource/resourcesystem.cpp b/doomsday/apps/client/src/resource/resourcesystem.cpp index ac8cf0eb8c..7005f15747 100644 --- a/doomsday/apps/client/src/resource/resourcesystem.cpp +++ b/doomsday/apps/client/src/resource/resourcesystem.cpp @@ -125,7 +125,7 @@ namespace internal if(angle < 0 || angle > MAX_ANGLES) return -1; - + if(angle == 0) return 0; if(angle <= MAX_ANGLES / 2) @@ -1643,7 +1643,7 @@ DENG2_PIMPL(ResourceSystem) if(!numFoundSkins) { - LOG_RES_WARNING("Model \"%s\" will be rendered without a skin (none found)") + LOG_RES_MSG("No skins found for model \"%s\" (it may use a custom skin specified in a DED)") << NativePath(modelFilePath).pretty(); } @@ -3530,7 +3530,7 @@ static QMap buildSprites(QMultiMap const &fr } } } - + return frames; }