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. "
This commit is contained in:
Robert Osfield
2009-02-09 21:48:30 +00:00
parent abe28296ee
commit 1710b431a5

View File

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