Hi Antonio,

> Hi Andreas&Carsten,
> 
> 
> Scrive Carsten Neumann <[EMAIL PROTECTED]>:
> 
> 
>>[following up on myself...]
>>
>>      Hello Antonio,
>>
>>Carsten Neumann wrote:
>>
>>>yes, <SomeContainer>Ptr is not a reference counting pointer, if you need
>>>that please use <SomeContainer>RefPtr.
>>>In the example the ref count of all PassiveBackgrounds remains zero all
>>>the time and is never touched and since destruction only happens when
>>>the ref count is decreased these object stay alive. If you add them to a
>>>container and then later remove them again the ref count goes up to one
>>>first and then is decreased back to zero and the object is destroyed.
>>>I'll have a look at the FBOViewport if there something is wrong, because
>>>  your first example should not leak for exactly these reasons.
>>
>>hmpf, working with OpenSG 2 all the time made me a bit optimistic on the
>>reference counting stuff, it seems. Apparently there are containers that
>>do not increase the ref count on pointed to objects - and as Andreas has
>>written this is one of those bugs that are considered a "feature" :(
> 
> 
> 
> Oh well... That explains a lot of holes in my app! That's
> a quite ondocumented "feature". I reduced the living objects
> at program termination by 90% ;) One more: So also all materials
> applied inside a scene are _not_ subreferenced when I destroy the
> root scene?

no the scenegraph reference counting works correct I think the only 
place where it doesn't work is the whole Source/System/Window sub directory.

Andreas

> Cheers,
> 
>  Toni
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
> 


-- 
VREC
Robert-Bosch-Straße 7
D-64293 Darmstadt
Tel. 06151-4921035

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to