-don
On 9/1/06, Bill Prendergast <[EMAIL PROTECTED]> wrote:
>> The piece you are probably missing is that the VertexArray and the Geometry are two separate objects
>> The Geometry has a ref_ptr to the VertexArray. When the Geometry is deleted, the ref_ptr to the VertexArray
>> will decrement the reference of the VertexArray.
>> -don
Don,
Thanks for the reply... yes, I know they are two separate (but related) objects.
>> When the Geometry is deleted, the ref_ptr to the VertexArray
>> will decrement the reference of the VertexArray.
And in the case I'm thinking about, the VertexArray will still remain because
I took out a SEPARATE ref_ptr to it. Everything else about the Geometry
can be deleted, but the VertexArray will still remain.
Are there any ramifications? Or just a VertexArray that remains until its
ref count gets to zero?
I am walking through the myriad related function (dtors) and I just figured
that someone knew if a dangling VertexArray was just that - or if it affected
anything else.
- Bill
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
