Changeset 1016

Show
Ignore:
Timestamp:
08/16/10 12:10:14 (21 months ago)
Author:
robert
Message:

Added checked for .osgb as this allows for mipmap/compressed imagery.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/vpb/Destination.cpp

    r1010 r1016  
    12921292        _stateset->setTextureAttributeAndModes(layerNum,texture,osg::StateAttribute::ON); 
    12931293 
    1294         bool inlineImageFile = _dataSet->getDestinationTileExtension()==".ive"; 
     1294        bool inlineImageFile = _dataSet->getDestinationTileExtension()==".ive" || _dataSet->getDestinationTileExtension()==".osgb" ; 
    12951295        bool compressedImageSupported = inlineImageFile || imageExtension=="dds"; 
    12961296        bool mipmapImageSupported = compressedImageSupported; // inlineImageFile;