Changed the tolower of the file extension into the plugin name construction code.

Added support for CompositeLayer.
This commit is contained in:
Robert Osfield
2007-08-16 18:49:46 +00:00
parent 3c82058c68
commit ffc8123a73
4 changed files with 119 additions and 13 deletions

View File

@@ -20,8 +20,9 @@ Layer::Layer()
{
}
Layer::Layer(const Layer& Layer,const osg::CopyOp& copyop):
osg::Object(Layer,copyop)
Layer::Layer(const Layer& layer,const osg::CopyOp& copyop):
osg::Object(layer,copyop),
_filename(layer._filename)
{
}
@@ -321,3 +322,19 @@ unsigned int HeightFieldLayer::getModifiedCount() const
{
return _modifiedCount;
}
/////////////////////////////////////////////////////////////////////////////
//
// HieghtFieldLayer
//
CompositeLayer::CompositeLayer()
{
}
CompositeLayer::CompositeLayer(const CompositeLayer& compositeLayer,const osg::CopyOp& copyop):
Layer(compositeLayer,copyop)
{
}