mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-21 14:15:34 +01:00
Fix situation around aabbox3d default constructor (#15586)
Co-authored-by: JosiahWI <41302989+JosiahWI@users.noreply.github.com>
This commit is contained in:
@@ -307,7 +307,7 @@ const core::aabbox3d<f32> &CSceneManager::getBoundingBox() const
|
||||
{
|
||||
_IRR_DEBUG_BREAK_IF(true) // Bounding Box of Scene Manager should never be used.
|
||||
|
||||
static const core::aabbox3d<f32> dummy;
|
||||
static const core::aabbox3d<f32> dummy{{0.0f, 0.0f, 0.0f}};
|
||||
return dummy;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user