1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Fix situation around aabbox3d default constructor (#15586)

Co-authored-by: JosiahWI <41302989+JosiahWI@users.noreply.github.com>
This commit is contained in:
sfan5
2024-12-29 14:36:30 +01:00
committed by GitHub
parent cca65fde08
commit f2b1cc3e61
34 changed files with 67 additions and 53 deletions

View File

@@ -195,8 +195,7 @@ WieldMeshSceneNode::WieldMeshSceneNode(scene::ISceneManager *mgr, s32 id):
else
g_extrusion_mesh_cache->grab();
// Disable bounding box culling for this scene node
// since we won't calculate the bounding box.
// This class doesn't render anything, so disable culling.
setAutomaticCulling(scene::EAC_OFF);
// Create the child scene node