stg: Fix typo.

This commit is contained in:
Mathias Froehlich 2012-09-16 18:39:16 +02:00
parent ddbb2bea8a
commit 18f7102461

View File

@ -247,7 +247,7 @@ struct ReaderWriterSTG::_ModelBin {
} else if (token == "OBJECT_SHARED" || token == "OBJECT_SHARED_AGL") {
if (!onlyTerrain) {
osg::ref_ptr<SGReaderWriterOptions> opt;
opt = staticOptions(filePath, options);
opt = sharedOptions(filePath, options);
if (SGPath(name).lower_extension() == "ac")
opt->setInstantiateEffects(true);
else