Changeset 201 for osgVisual/trunk/src


Ignore:
Timestamp:
Jan 18, 2011, 9:03:45 PM (14 years ago)
Author:
Torben Dannhauer
Message:

restructured XML config file: <cloudlayer> is now wrapped by <clouds>

File:
1 edited

Legend:

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

    r200 r201  
    883883                                if(slot!=-1 && rate_mmPerHour_rain!=-1 && rate_mmPerHour_drySnow!=-1 && thickness!=-1 && baseHeight!=-1 && density!=-1 )
    884884                                        setSlotPrecipitation( slot, rate_mmPerHour_rain, rate_mmPerHour_drySnow, rate_mmPerHour_wetSnow, rate_mmPerHour_sleet );
    885                         }
    886                         else
    887                                 OSG_NOTIFY( osg::ALWAYS ) << "ERROR - visual_skySilverLining::configureCloudlayerbyXML: Node is not a cloudlayer node." << std::endl;
     885                        }       // If Node = cloudlayer END
    888886                }       // FOR-loop end
    889887        }       // If Clouds END
    890 }
     888                else
     889        OSG_NOTIFY( osg::ALWAYS ) << "ERROR - visual_skySilverLining::configureCloudlayerbyXML: Node is not a <clouds> node." << std::endl;
     890}
Note: See TracChangeset for help on using the changeset viewer.