Hi Patrik,

Patrik Mueller wrote:
> Hi,
> 
> just a short question: I have several tools/libs for OpenSG1.8. To use 
> them independent from others all have an osgInit in their main routines.
> But if I want some of them together in one application I would have 
> several calls of osgInit().
> Is it possible to check if OpenSG is already initialised?

in Source/Base/Base/OSGBaseFunctions.h there is the global variable
GlobalSystemState which is initialized to Startup and at the end of
osgInit set to Running, while osgExit sets it to Shutdown.

        Hope it helps,
                Carsten

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to