]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/panelnode.cxx
Fix line endings
[flightgear.git] / src / Model / panelnode.cxx
index 55973b0035ec670cc3220f4a8c5649522abb9173..bf553e2033b2231571cf1f0f1bc04175c38f28cb 100644 (file)
@@ -47,6 +47,8 @@ FGPanelNode::FGPanelNode(SGPropertyNode* props)
     // panels).  This is a memory leak and should be fixed!`
     _panel->init();
 
+    _panel->setDepthTest( props->getBoolValue("depth-test") );
+
     // Initialize the matrices to the identity.  PLib prints warnings
     // when trying to invert singular matrices (e.g. when not using a
     // 3D panel).