stg: Fix typo.
This commit is contained in:
parent
ddbb2bea8a
commit
18f7102461
@ -247,7 +247,7 @@ struct ReaderWriterSTG::_ModelBin {
|
|||||||
} else if (token == "OBJECT_SHARED" || token == "OBJECT_SHARED_AGL") {
|
} else if (token == "OBJECT_SHARED" || token == "OBJECT_SHARED_AGL") {
|
||||||
if (!onlyTerrain) {
|
if (!onlyTerrain) {
|
||||||
osg::ref_ptr<SGReaderWriterOptions> opt;
|
osg::ref_ptr<SGReaderWriterOptions> opt;
|
||||||
opt = staticOptions(filePath, options);
|
opt = sharedOptions(filePath, options);
|
||||||
if (SGPath(name).lower_extension() == "ac")
|
if (SGPath(name).lower_extension() == "ac")
|
||||||
opt->setInstantiateEffects(true);
|
opt->setInstantiateEffects(true);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user