Show
Ignore:
Timestamp:
10/21/14 17:10:27 (4 days ago)
Author:
robert
Message:

Added shaders to support experimental shader based displacement mapping technique osgTerrain::ShaderTerrain?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgDB/ObjectWrapper

    r13541 r13788  
    9494    { 
    9595        _lastVersion = w->getUpdatedVersion(); 
    96         w->setUpdatedVersion(v);         
     96        w->setUpdatedVersion(v); 
    9797    } 
    98      
     98 
    9999    ~UpdateWrapperVersionProxy() 
    100100    { 
    101101        _wrapper->setUpdatedVersion(_lastVersion); 
    102102    } 
    103      
     103 
    104104    ObjectWrapper* _wrapper; 
    105105    int _lastVersion; 
     
    133133    IntLookup::Value getValue( const std::string& group, const std::string& str ) { return findLookup(group).getValue(str.c_str()); } 
    134134    const std::string& getString( const std::string& group, IntLookup::Value value ) { return findLookup(group).getString(value); } 
     135 
     136    IntLookupMap& getLookupMap() { return _globalMap; } 
     137    const IntLookupMap& getLookupMap() const { return _globalMap; } 
    135138 
    136139protected: