Is it reasonable and safe to repetitively call osgInit() then osgExit() in a single application?

The code I am working on is not an OpenSG application, but is a plugin routine for another application that allows it to create an opensg graph and then save it out.

Right now I am looking at code that would be something like this:

void exportGraph()
{
  osgInit(0,NULL);
  .... do the export ....
   osgExit();
}

Is this a "good" way to do this from the OpenSG standpoint?

-Allen



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to