Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10728


Ignore:
Timestamp:
Oct 31, 2015, 11:33:08 AM (9 years ago)
Author:
landauf
Message:

disable LOD for MSVC and ogre version 1.8 because it leads to crashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/graphics/Model.cc

    r9675 r10728  
    126126    void Model::enableLod()
    127127    {
     128#if defined(ORXONOX_COMPILER_MSVC) && OGRE_VERSION >= 0x010800 && OGRE_VERSION < 0x010900
     129        // disable LOD for MSVC and ogre version 1.8 because it leads to crashes
     130#else
    128131        //LOD
    129132        if( this->mesh_.getEntity()->getMesh()->getNumLodLevels()==1 )
     
    214217                orxout(verbose, context::lod) << "LodLevel for " << this->meshSrc_ << " not set because is disabled." << endl;
    215218        }
     219#endif
    216220    }
    217221}
Note: See TracChangeset for help on using the changeset viewer.