Show
Ignore:
Timestamp:
03/08/09 13:00:36 (6 years ago)
Author:
robert
Message:

Preliminary work on general purpose incremental compile support in osgViewer.

Files:
1 modified

Legend:

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

    r9554 r9868  
    449449        } 
    450450    } 
    451      
     451 
     452    // attach contexts to _incrementalCompileOperation if attached. 
     453    if (_incrementalCompileOperation) _incrementalCompileOperation->assignContexts(contexts); 
     454 
    452455    bool grabFocus = true; 
    453456    if (grabFocus) 
     
    899902        _updateOperations->runOperations(this); 
    900903    } 
     904     
     905    if (_incrementalCompileOperation.valid()) 
     906    { 
     907        // merge subgraphs that have been compiled by the incremental compiler operation. 
     908        _incrementalCompileOperation->mergeCompiledSubgraphs(); 
     909    } 
     910 
    901911 
    902912    {