Hi,

In the process of developing an osgEarth application, which uses many TFS data 
sources, I encountered the problem of "vector iterators incompatible" in 
Uniform::removeParent while iterating over _parentList.

Open the OSG project and search for all occurrences of "::addParent" or 
"::removeParent".  You'll note that all the other classes (Drawable, Node, 
etc.) use a mutex before accessing _parentList, but the Uniform class does not.

Adding the mutex in Uniform::addParent and removeParent fixed my problem.

Question:  Shouldn't the mutex be required to control access to _parentList in 
Uniform::addParent and removeParent?

Thanks,
Tim

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50594#50594





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to