Hi David,
   Thank you very much for the info :) I still have some problems

For this problem, I don't understand wath you call a "memory corruption", it
is a bad pointer or a memory leak or ...

I'm not sure, the problem appears inside a scripting environment, may
be is a exception, or a bad pointer... I will try to find out what it
is... Seems that osgIntrospection allows me to convert and
osgProducer::Viewer to a Referenced object and it opens a can of
worms... never mind, the problem could be anywhere else in the code.

How can I do something like this? :

     osg::ref_ptr<osg::Group> group = new osg::Group();
     osgIntrospection::Value v(group.get());
     osg::ref_ptr<osg::Referenced> ref =
osgIntrospection::variant_cast<osg::Referenced*>(v)

  is it correct? because I'm not able to use it, the variant_cast
throws an exception:type `PN3osg5GroupE' is declared but not defined


Cheers,
--
 Jose L. Hidalgo ValiƱo (PpluX)
 ---- http://www.pplux.com ----
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to