]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/material/matlib.cxx
Work around apparent OSG 3.2.0 normal binding bug.
[simgear.git] / simgear / scene / material / matlib.cxx
index 822147250f6ec1cb97a3747c0eb265302d11f092..279a6cfe2601d79949b07096e0a541a74121f1e5 100644 (file)
@@ -77,7 +77,7 @@ bool SGMaterialLib::load( const string &fg_root, const string& mpath,
         if (!strcmp(node->getName(), "material")) {
             SGSharedPtr<SGMaterial> m = new SGMaterial(options.get(), node, prop_root);
 
-            vector<SGPropertyNode_ptr>names = node->getChildren("name");
+            std::vector<SGPropertyNode_ptr>names = node->getChildren("name");
             for ( unsigned int j = 0; j < names.size(); j++ ) {
                 string name = names[j]->getStringValue();
                 // cerr << "Material " << name << endl;