Show
Ignore:
Timestamp:
11/13/09 13:51:42 (5 years ago)
Author:
robert
Message:

Added dummy StateSet? at top of scene graph when using ShaderGen? to copy with subgrahs that contain no StateSet?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/View.cpp

    r10740 r10749  
    280280        #if defined(OSG_GLES2_AVAILABLE) 
    281281            osgUtil::ShaderGenVisitor sgv; 
     282            getSceneData()->getOrCreateStateSet(); 
    282283            getSceneData()->accept(sgv); 
    283284        #endif