Ignore:
Timestamp:
Jan 7, 2011, 12:05:14 PM (13 years ago)
Author:
Torben Dannhauer
Message:

Adapted Sky_Silverlining to be aware of the XML configuration. The sky can now be disabled by XML configuration.

All calls to sky must be wrapped with if(sky.valid()) { ...} to ensure that it is only called when available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/include/sky_Silverlining/visual_skySilverLining.h

    r145 r182  
    6565         * @param viewer_ : Pointer to the applications viewer
    6666         * @param configFileName : Filename of the XML configfile to read the configuration from. Currently not used because skySilverlining currently does not need any configuration parameters.
    67          */
    68         visual_skySilverLining(osgViewer::Viewer* viewer_, std::string configFileName);
     67         * @param disabled : Flag to the caller which indicates if the sky was enabled or disabled by the XML configuration file.
     68         */
     69        visual_skySilverLining(osgViewer::Viewer* viewer_, std::string configFileName, bool& disabled);
    6970
    7071        /**
Note: See TracChangeset for help on using the changeset viewer.