mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-18 12:43:09 +00:00
silenced a warning
This commit is contained in:
parent
ea79d9b7c3
commit
10b4c1d904
1 changed files with 3 additions and 3 deletions
|
|
@ -90,7 +90,7 @@ void Objects::insertMesh (const MWWorld::Ptr& ptr, const std::string& mesh)
|
||||||
|
|
||||||
Ogre::Vector3 extents = ent->getBoundingBox().getSize();
|
Ogre::Vector3 extents = ent->getBoundingBox().getSize();
|
||||||
extents *= insert->getScale();
|
extents *= insert->getScale();
|
||||||
float size = std::max(std::max(extents.x, extents.y), extents.z);
|
// float size = std::max(std::max(extents.x, extents.y), extents.z);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
bool small = (size < 250); /// \todo config value
|
bool small = (size < 250); /// \todo config value
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue