mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Overall improvements to log messages (#9598)
Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
This commit is contained in:
parent
3494475df1
commit
de73f989eb
22 changed files with 87 additions and 111 deletions
|
@ -576,9 +576,10 @@ void GenericCAO::addToScene(ITextureSource *tsrc)
|
|||
|
||||
m_visuals_expired = false;
|
||||
|
||||
if (!m_prop.is_visible) {
|
||||
if (!m_prop.is_visible)
|
||||
return;
|
||||
}
|
||||
|
||||
infostream << "GenericCAO::addToScene(): " << m_prop.visual << std::endl;
|
||||
|
||||
if (m_enable_shaders) {
|
||||
IShaderSource *shader_source = m_client->getShaderSource();
|
||||
|
@ -593,7 +594,6 @@ void GenericCAO::addToScene(ITextureSource *tsrc)
|
|||
}
|
||||
|
||||
auto grabMatrixNode = [this] {
|
||||
infostream << "GenericCAO::addToScene(): " << m_prop.visual << std::endl;
|
||||
m_matrixnode = RenderingEngine::get_scene_manager()->
|
||||
addDummyTransformationSceneNode();
|
||||
m_matrixnode->grab();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue