Antonio Bleile wrote: > Antonio Bleile wrote: >> Carsten Neumann wrote: >>> Hello Antonio, >>> >>> Antonio Bleile wrote: >>>> How's it possible that the following routine >>>> printf's field containers with ref count 0 ? >>> NodePtr node = Node::create(); >>> >>> node has ref count 0. > > > I'm currently looking for the SolidBackground remaining > in memory. I think it's not me creating it.... I grepped > the code for SolidBackground::create and I think I found > a potential bug: > > OSGBalancedMultiWindow.cpp:2025 > > There you create a local variable bkgnd and assign > a new SolidBackground. Then you addRefCP it, assign > it to a viewport and finally subRef it. > As I learned, the viewport is not adding the refcount > of the background (or does it?), so this code should > not work properly.
Never mind, I didn't look at the whole code.... It does a render in the middle, it's all right. I should go to bed :-) Anyway.... There's a SolidBackground lurking around. I'll dream of it ;) Cheers, Toni -- Ing. Antonio Bleile Seac02 S.r.l. via Avogadro 4 10121 Torino Italia Tel. +39.011.197.006.52 Fax +39.011.197.006.53 E-mail [EMAIL PROTECTED] Sito www.seac02.it ------------------------------------------------------------------------- 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
