Ignore:
Timestamp:
Jan 28, 2015 1:08:13 PM (9 years ago)
Author:
ldelgass
Message:

Delete cache dir from main() to allow renderer ref-counted objects to be
deleted and threads to exit first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/Renderer.h

    r4655 r4956  
    136136    }
    137137
     138    void setCacheBaseDirectory(const std::string& path)
     139    {
     140        TRACE("Set cache base dir to %s", path.c_str());
     141        _cacheBaseDir = path;
     142    }
     143
     144    std::string getCacheDirectory()
     145    {
     146        return _cacheDir;
     147    }
     148
    138149    std::string getBaseImage();
    139150
     
    490501
    491502    std::string _resourcePath;
     503    std::string _cacheBaseDir;
     504    std::string _cacheDir;
    492505    std::string _baseURI;
    493     std::string _cacheDir;
    494506
    495507    osg::ref_ptr<osg::Group> _sceneRoot;
Note: See TracChangeset for help on using the changeset viewer.