From 19c801f53870d7c75a1bafdff65edff840ce0b99 Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 29 Mar 2012 16:56:30 +0200 Subject: [PATCH] disabled rendering distance for now --- apps/openmw/mwrender/objects.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw/mwrender/objects.cpp b/apps/openmw/mwrender/objects.cpp index 906e7e0a30..5594d623e1 100644 --- a/apps/openmw/mwrender/objects.cpp +++ b/apps/openmw/mwrender/objects.cpp @@ -92,11 +92,14 @@ void Objects::insertMesh (const MWWorld::Ptr& ptr, const std::string& mesh) extents *= insert->getScale(); float size = std::max(std::max(extents.x, extents.y), extents.z); +/* bool small = (size < 250); /// \todo config value // do not fade out doors. that will cause holes and look stupid if (ptr.getTypeName().find("Door") != std::string::npos) small = false; +*/ + const bool small = false; if (mBounds.find(ptr.getCell()) == mBounds.end()) mBounds[ptr.getCell()] = Ogre::AxisAlignedBox::BOX_NULL;