diff --git a/include/osgVolume/Property b/include/osgVolume/Property index 737e28d12..eaf4f866e 100644 --- a/include/osgVolume/Property +++ b/include/osgVolume/Property @@ -361,16 +361,16 @@ class OSGVOLUME_EXPORT PropertyAdjustmentCallback : public osgGA::GUIEventHandle META_Object(osgVolume,PropertyAdjustmentCallback); void setKeyEventCycleForward(int key) { _cyleForwardKey = key; } - int getKeyEventCyclesForward() const { return _cyleForwardKey; } + int getKeyEventCycleForward() const { return _cyleForwardKey; } void setKeyEventCycleBackward(int key) { _cyleBackwardKey = key; } - int getKeyEventCyclesBackward() const { return _cyleBackwardKey; } + int getKeyEventCycleBackward() const { return _cyleBackwardKey; } void setKeyEventActivatesTransparencyAdjustment(int key) { _transparencyKey = key; } int getKeyEventActivatesTransparencyAdjustment() const { return _transparencyKey; } void setKeyEventActivatesSampleDensityAdjustment(int key) { _sampleDensityKey = key; } - int getKeyEventActivatesSampleAdjustment() const { return _sampleDensityKey; } + int getKeyEventActivatesSampleDensityAdjustment() const { return _sampleDensityKey; } void setKeyEventActivatesAlphaFuncAdjustment(int key) { _alphaFuncKey = key; } int getKeyEventActivatesAlphaFuncAdjustment() const { return _alphaFuncKey; } diff --git a/src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp b/src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp index 2a761a119..f7bd8b323 100644 --- a/src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp +++ b/src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp @@ -32,10 +32,10 @@ void VolumePropertyAdjustmentCallback::write(DataOutputStream* out) out_THROW_EXCEPTION("VolumePropertyAdjustmentCallback::write(): Could not cast this osg::VolumePropertyAdjustmentCallback to an osg::Object."); // Write VolumePropertyAdjustmentCallback's properties. - out->writeInt(getKeyEventCyclesForward()); - out->writeInt(getKeyEventCyclesBackward()); + out->writeInt(getKeyEventCycleForward()); + out->writeInt(getKeyEventCycleBackward()); out->writeInt(getKeyEventActivatesTransparencyAdjustment()); - out->writeInt(getKeyEventActivatesSampleAdjustment()); + out->writeInt(getKeyEventActivatesSampleDensityAdjustment()); out->writeInt(getKeyEventActivatesAlphaFuncAdjustment()); }