refactored the getWindows(..) and getContexts(..) methods so that they produce

consistent ordering based on the order Camera/slave camera ordering.
This commit is contained in:
Robert Osfield
2008-09-18 15:18:59 +00:00
parent 8bdb22c22e
commit 91f7895735
6 changed files with 48 additions and 108 deletions

View File

@@ -217,7 +217,7 @@ class OSGVIEWER_EXPORT ViewerBase : public virtual osg::Object
virtual void getContexts(Contexts& contexts, bool onlyValid=true) = 0;
typedef std::vector<osgViewer::GraphicsWindow*> Windows;
virtual void getWindows(Windows& windows, bool onlyValid=true) = 0;
virtual void getWindows(Windows& windows, bool onlyValid=true);
typedef std::vector<OpenThreads::Thread*> Threads;
virtual void getAllThreads(Threads& threads, bool onlyActive=true) = 0;