The texture->setMaxAnisotropy() is a straight forward C++ method, the only reason for it to crash would be for the method to be called on a nullptr or invalid texture pointer.
Most likely the bug stems from simgear so I would suggest contacting the FlightGear team to see if they can reproduce the crash and then hunt the down the cause of the invalid pointer.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org