Ignore:
Timestamp:
Jul 31, 2010, 7:38:22 AM (14 years ago)
Author:
Torben Dannhauer
Message:

Debug: if clause based on uninitialized value removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp

    r88 r113  
    2727        atmosphere = NULL;
    2828        viewer = viewer_;
     29        lat = 0;
     30        lon = 0;
     31        upVectorLat = 5;        // Just to ensure deltaLatToUpdate is big enough to enforce the sky to update at the first frame
     32        upVectorLon = 5;        // Just to ensure deltaLonToUpdate is big enough to enforce the sky to update at the first frame
    2933        for( int i=0; i<MAX_CLOUDLAYER_SLOTS; i++ )
    3034        {
Note: See TracChangeset for help on using the changeset viewer.