Closed lpberg closed 10 years ago
I'd try stepping through this on a Linux debug build.
OK, so it turns out that osgIntrospection didn't register a converter from T * to const T * even though it's a simple static cast. I've figured it out and updated the cppintrospection and osg (mine) repos: haven't yet updated the windows osg binaries to include the fix for this and a bunch of other improvements, but you're welcome to do so (you'll just need to build and copy the osgwrapper*.dll files as well as osgIntrospection.dll/lib, and of course the headers - this should keep you from having to totally re-build OSG and all its deps. VR JuggLua re-build then required because of header changes.)
(see https://github.com/rpavlik/cppintrospection/commit/1602de0c96035487a1ff1f391ceaa9a57a16aaee for the deceptively simple-looking patch)
OK, so with the latest osg binaries I just built on Windows, https://gist.github.com/rpavlik/e72a234a8e21f3d33759 runs successfully. I'll close this bug once I get the binaries up in the repo.
Fixed in the latest snapshots!
VRJuggLua is not able to find IntersectVisitor:getHitList(osg.LineSegment)
gist: https://gist.github.com/lpberg/5ca2887bbef185e78724