Hi,

I'm trying to save and open an osg node, but instead of using the .osg 
extension id like to use .custom. I've understood it that I should call:

osgDB::Registry::instance()->addFileExtensionAlias("custom", "osg");

In order to create an alias for .custom to .osg, but it does not work to load a 
file with:
osgDB::readNodeFile("test.custom");

Anything else I need to do?

I am using the svn trunk of openscenegraph.

Thank you!

Cheers,
yohan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18008#18008





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

Reply via email to