Hi Fredrik,

On Fri, 2005-08-12 at 15:13 +0200, Fredrik Andersson wrote:
> Hi Andreas
> 
> Thanks, but I would prefer to get the value programmatically.
> What say you?

Well, we somewhat on purpose decided to not allow that, as it lends
itself to code like "while(refcnt > 0) subRef();", which would wrack
havoc on multi-threaded apps. It is a case of trying to not let the
users shoot themselves in the foot and entice them to do their ref
counting cleanly, but it does have problems for debugging. 

However, for debugging I'd recommend one of the best kept open secrets
of OpenSG: the WebInterface. Take a look at
Source/Experimental/WebInterface. It allows you to look under the covers
of a running application, including scene graph and ChangeList. 

If that doesn't help you we can try convincing Gerrit that access to the
ref count is not as bad as he thinks it is. ;)

Hope it helps

        Dirk



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to