Ignore:
Timestamp:
Jun 1, 2012, 9:23:50 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/DistortionManipulator.cpp

    r370 r371  
    2727#include <osgDB/WriteFile>
    2828
     29#include "DistortionSetupStrategy.h"
     30
    2931using namespace osg;
    3032using namespace osgViewer;
     
    3840        activeManualSetupMode = DISTORTION;
    3941        activeVisualizationMode = NONE;
     42
     43        _delegatedDistortionSetupStrategy = NULL;
    4044
    4145        _highlighter = NULL;
     
    250254                case(osgGA::GUIEventAdapter::FRAME):
    251255                {
    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;
    255261                        }
    256262                        break;
Note: See TracChangeset for help on using the changeset viewer.