Hello all,

I've attached small patches to two issues I've found with Maya2OSG.

One allows it to build successfully with the current 2.8 branch - there are
some manipulators not available in this branch so we just disable them by
checking the osg version.

The other issue was ambiguity in calling inTolerance, preventing me from
building successfully on VC9 x64.  I solved this two different ways: take
your pick of which way you prefer.

   - I've made inTolerance a template function with a single parameter type
   and explicitly specified the template parameter in the one case.
   (fix-vc9-build)
   - inTolerance is a template function with three parameter types, and
   static_casts all arguments to the type of the tolerance parameter before
   doing math.  This one doesn't require explicit template param specification,
   and seems "more correct" to me, or at least more explicit in how it works. I
   personally prefer this one. (alternate-fix-build)

These patches were made against the latest svn trunk of maya2osg using
tortoisesvn.

Ryan

-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

[email protected]
http://academic.cleardefinition.com

Attachment: maya2osg-alternate-fix-build.patch
Description: Binary data

Attachment: maya2osg-fix-vc9-build.patch
Description: Binary data

Attachment: maya2osg-fix-osg28.patch
Description: Binary data

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to