From Sukender, normalized option names
This commit is contained in:
parent
fc32aa4918
commit
6fb5387473
@ -1,4 +1,4 @@
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This application is open source and may be redistributed and/or modified
|
||||
* freely and without restriction, both in commercial and non commercial
|
||||
@ -129,9 +129,9 @@ ReaderWriterDAE::writeNode( const osg::Node& node,
|
||||
if( opt == "polygon") usePolygon = true;
|
||||
else if (opt == "GoogleMode") googleMode = true;
|
||||
else if (opt == "NoExtras") writeExtras = false;
|
||||
else if (opt == "DaeEarthTex") earthTex = true;
|
||||
else if (opt == "ZUpAxis") zUpAxis = true;
|
||||
else if (opt == "ForceTexture") forceTexture = true;
|
||||
else if (opt == "daeEarthTex") earthTex = true;
|
||||
else if (opt == "daeZUpAxis") zUpAxis = true;
|
||||
else if (opt == "daeForceTexture") forceTexture = true;
|
||||
else if (!opt.empty())
|
||||
{
|
||||
OSG_NOTICE << std::endl << "COLLADA dae plugin: unrecognized option \"" << opt << std::endl;
|
||||
|
@ -18,12 +18,12 @@ public:
|
||||
// Collada zip archive (contains one or more dae files and a manifest.xml)
|
||||
supportsExtension("zae","COLLADA 1.4.x ZAE format");
|
||||
|
||||
supportsOption("polygon", "(Write option) Use polygons instead of polylists for element");
|
||||
supportsOption("GoogleMode", "(Write option) Write files suitable for use by Google products");
|
||||
supportsOption("NoExtras", "(Write option) Undocumented");
|
||||
supportsOption("DaeEarthTex", "(Write option) DAE settings for writing earth textures");
|
||||
supportsOption("ZUpAxis", "(Write option) Indicates the up axis is Z instead of Y");
|
||||
supportsOption("ForceTexture","(Write option) Force writing references to an image for a texture, even if the file is not found");
|
||||
supportsOption("polygon", "(Write option) Use polygons instead of polylists for element");
|
||||
supportsOption("GoogleMode", "(Write option) Write files suitable for use by Google products");
|
||||
supportsOption("NoExtras", "(Write option) Undocumented");
|
||||
supportsOption("daeEarthTex", "(Write option) DAE settings for writing earth textures");
|
||||
supportsOption("daeZUpAxis", "(Write option) Indicates the up axis is Z instead of Y");
|
||||
supportsOption("daeForceTexture", "(Write option) Force writing references to an image for a texture, even if the file is not found");
|
||||
|
||||
supportsOption("StrictTransparency", "(Read option) Undocumented");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user