From c17d85c2412f53cc422055e46a0f953c158b0a3a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 23 Jan 2009 09:24:34 +0000 Subject: [PATCH] From Lionel Lagarde, "here is a correction on osgVolume/Property added OSGVOLUME_EXPORT to PropertyAdjustmentCallback osgVolume/VolumeTile.cpp in copy constructor, removed ';' on if (volumeTile.getVolumeTechnique())" --- include/osgVolume/Property | 2 +- src/osgVolume/VolumeTile.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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())); }