]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/modellib.cxx
Work around apparent OSG 3.2.0 normal binding bug.
[simgear.git] / simgear / scene / model / modellib.cxx
index 281c641392a2c2c0ec9d6db7d306574cc9f2c950..8a55151090905f6eab95996d73406eed93c3da69 100644 (file)
@@ -57,6 +57,11 @@ void SGModelLib::init(const string &root_dir, SGPropertyNode* root)
     static_propRoot = root;
 }
 
+void SGModelLib::resetPropertyRoot()
+{
+    static_propRoot.clear();
+}
+
 void SGModelLib::setPanelFunc(panel_func pf)
 {
   static_panelFunc = pf;