Sorry about the blank subject on the other mail. I'd sent this to a bad address before, and was putting the email back together to send to the right place, and left off the subject.
Attachment is on the email with blank subject. andy From: Andy Skinner Sent: Monday, December 20, 2010 7:04 AM To: '[email protected]' Subject: We use a shared array for our OpenSceneGraph arrays, and the existing (deprecated) OSG plugin casts the Array to IntArray and FloatArray and the like. Because our arrays don't use FloatArray, this crashes for us. Attached is src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp. It gets the data pointer out and casts it to a pointer to the element type, rather than casting the array object itself. This seems to work. I don't yet know why the deprecated version gets called, vs the new one. The new one has different code, but still has a cast. Not sure how that will work. Fixing this will allow us to write .osg files as part of our debugging. thanks andy
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
