Show
Ignore:
Timestamp:
06/19/09 13:00:33 (6 years ago)
Author:
robert
Message:

Added clears to various vectors being passed in to get*() methods.

Files:
1 modified

Legend:

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

    r10364 r10365  
    995995void Viewer::getScenes(Scenes& scenes, bool onlyValid) 
    996996{ 
     997    scenes.clear(); 
    997998    scenes.push_back(_scene.get()); 
    998999} 
     
    10001001void Viewer::getViews(Views& views, bool onlyValid) 
    10011002{ 
     1003    views.clear(); 
    10021004    views.push_back(this); 
    10031005}