[osg-users] Regression caused by OSG_PROVIDE_READFILE change

James Turner zakalawe at mac.com
Sat Mar 26 10:14:17 PDT 2016


> On 26 Mar 2016, at 14:22, Robert Osfield <robert.osfield at gmail.com> wrote:
> 
> Sorry to hear there is a regression.  I've looked at your explanation and the code you linked to, and the relevant osg::StateSet::set*() methods and can't spot anything obvious wrong.

Thank you for looking, I could have missed something but I’m more confident you would have spotted a problem!

> 
> One debug test would be to write out the subgraph that the CanvasImage class creates to a .osgt file and then have a look at the results to see if it makes sense.  You could compare the subgraph generated by the OSG before OSG_PROVIDE_READFILE change.  If there are differences then it points to an issue with one of set methods, and potentially even the exact method that is a problem.

Yes. that should be fairly doable, will try this next.

Kind regards,
James




More information about the osg-users mailing list