Patrick Hartling wrote: > I have just run across a potential problem with OSG::Node::setTravMask() and > OSG::RenderAction::setTravMask(). I have been using those to enable and > disable rendering of objects dynamically in a scene, and with the tagged > OpenSG 1.8.0 source, the objects are always visible. Using sources from > January 31, 2007, things work as I expect. I have only just discovered this > problem, and I do not know if it is a bug in OpenSG or in my code's use of > this feature. Unfortunately, I will not have time until next week (at the > earliest) to try to track this down any further, but if the official 1.8.0 > release is imminent, I thought it would be good to make this known.
This appears to have been a bug in my code. I was not setting the traversal mask on the viewport (as is done in testTravMask), just on the render action and on the OSG::Node instances. The change that exposed this problem is the following: http://sourceforge.net/mailarchive/forum.php?thread_name=E1HYZVv-0004os-Qh%40sc8-pr-cvs3.sourceforge.net&forum_name=opensg-commits I don't know why this change exposed the bug, but things are working now. -Patrick -- Patrick L. Hartling VP Engineering, Infiscape Corp. http://www.infiscape.com/
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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
