Thanks Dietmar, change looks sensible, now merged and submitted to
svn/trunk. Cheers, Robert.

On Mon, Feb 21, 2011 at 2:52 PM, Dietmar Funck
<[email protected]> wrote:
> Hi,
> I've noticed an issue with osgUtil::RenderStage::runCameraSetUp() if the 
> number of buffer attachments of the camera decreases according to privous 
> calls.
> This happens because RenderStage::_bufferAttachmentMap is updated only for 
> the number of buffers the camera has when runCameraSetUp is called.
> For example if there were 4 attachments and now only 3, only the first three 
> elements of _bufferAttachmentMap are changed. The fourth is just as before - 
> however it shouldn't be there.
>
> Calling _bufferAttachmentMap.clear() before resolves this problem.
>
> Best regards,
> Dietmar Funck
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=36893#36893
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/renderstage_404.cpp
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to