Ignore:
Timestamp:
Apr 22, 2012, 9:01:45 AM (13 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/extViewer.cpp

    r353 r357  
    1818
    1919#include "extViewer.h"
    20 #include "distortionNG.h"
    2120
    2221#include <osg/Switch>
     
    275274
    276275                osg::ref_ptr<osg::Switch> root = _distortionSet->getDistortionInternals();
    277                 root->addChild(geode, true);    // adds mesh,shader,.. so camera renders mesh (and  thus render the scene)
     276                root->addChild(geode, true);    // Child #0  (adds mesh,shader,.. so camera renders mesh (and  thus render the scene))
    278277                camera->addChild(root);
    279278
Note: See TracChangeset for help on using the changeset viewer.