Carsten Neumann wrote: > Hello Pablo, > > well, it was a bug in the simple scene manager that should have used a > NodeRefPtr instead of a plain NodePtr for its _highlight member. I fixed > it, so the reference counting should be correct now. However, if you > remove the node that has the highlight you still should call > setHighlight(NullFC) for otherwise the geometry that does the > highlighting will remain visible. I can not really think of a way we > could automate this in OpenSG easily.
If the highlight node's refcount is one, SSM is the only one with a ref to it, so you could set it to null. (Alternatively, check if the node is in the graph being rendered, which is a bit more expensive.) Doesn't solve it competely, but helps a bit. :) /Marcus ------------------------------------------------------------------------- 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
