[osg-users] Camera POST_RENDER vs. postDrawCallback ... whowins?
Robert Osfield
robert.osfield at gmail.com
Sat Mar 1 03:39:59 PST 2008
On Fri, Feb 29, 2008 at 9:19 PM, Vican, Justin E. <jvican at draper.com> wrote:
> Hi Robert,
> Built and tested (64bit RH EWS 4/x86_64/nVidia 7900GTX). All works
> correctly.
>
> Only one little nit-picky thing to mention. For the sake of clarity, on
> lines 355-357 of osghud.cpp, all instances of "pre" should be changed to
> "post".
>
> 355 SnapImage* preDrawCallback = new
> SnapImage("preDrawCallback.png");
> 356 viewer.getCamera()->setPostDrawCallback(preDrawCallback);
>
> 357 viewer.addEventHandler(new
> SnapeImageHandler('p',preDrawCallback));
>
> Thanks, Robert!
I did fix this yesterday, but didn't check it in... now checked in.
Robert.
More information about the osg-users
mailing list