diff --git a/include/osgVolume/Property b/include/osgVolume/Property index 642c04245..f0ddc89cf 100644 --- a/include/osgVolume/Property +++ b/include/osgVolume/Property @@ -350,7 +350,7 @@ class OSGVOLUME_EXPORT CollectPropertiesVisitor : public osgVolume::PropertyVisi }; -class PropertyAdjustmentCallback : public osgGA::GUIEventHandler, public osg::StateSet::Callback +class OSGVOLUME_EXPORT PropertyAdjustmentCallback : public osgGA::GUIEventHandler, public osg::StateSet::Callback { public: diff --git a/src/osgVolume/VolumeTile.cpp b/src/osgVolume/VolumeTile.cpp index 363922a6d..cdb4153f3 100644 --- a/src/osgVolume/VolumeTile.cpp +++ b/src/osgVolume/VolumeTile.cpp @@ -37,7 +37,7 @@ VolumeTile::VolumeTile(const VolumeTile& volumeTile,const osg::CopyOp& copyop): _hasBeenTraversal(false), _layer(volumeTile._layer) { - if (volumeTile.getVolumeTechnique()) ; + if (volumeTile.getVolumeTechnique()) { setVolumeTechnique(osg::clone(volumeTile.getVolumeTechnique())); }