From Bryan Thrall, "The .osg plugin doesn't seem to support an option to write shader files

separately, so it always inlines them in the .osg file (as far as I can
tell). This change adds that ability. "

Merged from svn/trunk.
This commit is contained in:
Robert Osfield
2009-02-09 21:53:18 +00:00
parent 437377b5d5
commit ea3b08526d

View File

@@ -264,6 +264,10 @@ class OSGReaderWriter : public ReaderWriter
{
fout.setOutputTextureFiles(true);
}
if (opt=="OutputShaderFiles")
{
fout.setOutputShaderFiles(true);
}
}
}
}