History

replace the simple log by a unique log

samcake committed 10 years ago

Commit 5adedbb1 parent afcb5b81 file · +3 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+3−1
@@ -4365,7 +4365,9 @@ namespace render { · 4364 unmodified lines
43654365 sceneKeyLight->setAmbientSphere(defaultSkyboxAmbientTexture->getIrradiance());
43664366 sceneKeyLight->setAmbientMap(defaultSkyboxAmbientTexture);
43674367 } else {
4368− qWarning() << "Failed to get a valid Default SKybox Ambient Texture ? probably because it couldn't be find during initialization step";
4368+ static QString repeatedMessage
4369+ = LogHandler::getInstance().addRepeatedMessageRegex(
4370+ "Failed to get a valid Default Skybox Ambient Texture ? probably because it couldn't be find during initialization step");
43694371 }
43704372 // fall through: render defaults skybox
43714373 } else {