Changeset 371 for experimental/distortionNG/DistortionManipulator.cpp
- Timestamp:
- Jun 1, 2012, 9:23:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/DistortionManipulator.cpp
r370 r371 27 27 #include <osgDB/WriteFile> 28 28 29 #include "DistortionSetupStrategy.h" 30 29 31 using namespace osg; 30 32 using namespace osgViewer; … … 38 40 activeManualSetupMode = DISTORTION; 39 41 activeVisualizationMode = NONE; 42 43 _delegatedDistortionSetupStrategy = NULL; 40 44 41 45 _highlighter = NULL; … … 250 254 case(osgGA::GUIEventAdapter::FRAME): 251 255 { 252 if ( activeSetupMode == DELEGATED) 253 { 254 OSG_ALWAYS<<"Todo: Calling delegated class!"<<std::endl; 256 if ( activeSetupMode == DELEGATED && _delegatedDistortionSetupStrategy.valid()) 257 { 258 OSG_ALWAYS<<"Calling delegated class.."<<std::endl; 259 _delegatedDistortionSetupStrategy->delegateDistortionSetup(_distortionSet); 260 OSG_ALWAYS<<"..done"<<std::endl; 255 261 } 256 262 break;
Note: See TracChangeset
for help on using the changeset viewer.