info-inventor-dev
[Top] [All Lists]

Re: QT+COIN

To: Tomás Aguado Gómez <tomas.aguado@xxxxxxxxxxxxxx>
Subject: Re: QT+COIN
From: Morten Eriksen <mortene@xxxxxx>
Date: Mon, 1 Nov 2004 12:05:44 +0100 (CET)
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <41836F5C.1050607@mi.madritel.es>
References: <4180B321.7080803@mi.madritel.es> <20041028110113.GF20769@sim.no> <41836F5C.1050607@mi.madritel.es>
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
On Sat, 30 Oct 2004, Tomás Aguado Gómez wrote:

> Well, the problem is that when  I want to delete a node, I select the 
> Qlistview, press de delete button,..I go to the map and I say---> 
> mapQTCOIN[QListviewITEM]->unref(); and the Sphere, Cylinder,... stays in 
> the scene smiling at me, and the reference count doesn't decrease!! it 
> stays in 1. Any ideas?

Remember that the node's parent will have a reference to the node, and has 
upped the child's reference count by 1 when it was added into the scene 
graph.

Morten
-- 
http://www.coin3d.org

<Prev in Thread] Current Thread [Next in Thread>