Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -4365,7 +4365,9 @@ namespace render { · 4364 unmodified lines | ||
| 4365 | 4365 | sceneKeyLight->setAmbientSphere(defaultSkyboxAmbientTexture->getIrradiance()); |
| 4366 | 4366 | sceneKeyLight->setAmbientMap(defaultSkyboxAmbientTexture); |
| 4367 | 4367 | } 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"); | |
| 4369 | 4371 | } |
| 4370 | 4372 | // fall through: render defaults skybox |
| 4371 | 4373 | } else { |