]> git.mxchange.org Git - simgear.git/commitdiff
stg: Fix typo.
authorMathias Froehlich <Mathias.Froehlich@web.de>
Sun, 16 Sep 2012 16:39:16 +0000 (18:39 +0200)
committerMathias Froehlich <Mathias.Froehlich@web.de>
Sun, 16 Sep 2012 16:43:05 +0000 (18:43 +0200)
simgear/scene/tgdb/ReaderWriterSTG.cxx

index c8940817164cb843520cc0eb30eb93c6946b25c1..c942ee41e6fd66c3a7a3d3f9cea796511db0381d 100644 (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