]> git.mxchange.org Git - flightgear.git/commitdiff
s/clip/clipping/
authormfranz <mfranz>
Tue, 29 Jul 2008 15:48:11 +0000 (15:48 +0000)
committermfranz <mfranz>
Tue, 29 Jul 2008 15:48:11 +0000 (15:48 +0000)
src/Instrumentation/HUD/HUD.cxx
src/Instrumentation/HUD/HUD_ladder.cxx

index 5ff411be3d6e870e1b3ed26d4f00c284ec50e27a..cab15dee6604ce093ac172bd7118a592bfcf7f9f 100644 (file)
@@ -344,7 +344,7 @@ int HUD::load(const char *file, float x, float y, int level, const string& inden
     }
 
     delete _clip_box;
-    _clip_box = new ClipBox(fgGetNode("/sim/hud/clip"), x, y);
+    _clip_box = new ClipBox(fgGetNode("/sim/hud/clipping"), x, y);
 
     for (int i = 0; i < root.nChildren(); i++) {
         SGPropertyNode *n = root.getChild(i);
index 4d0b6a3690b56971c6bec51ce073a5aa195e9c9b..6e274d26c45b1f8869b51d188f2825e42a08df54 100644 (file)
@@ -70,7 +70,7 @@ HUD::Ladder::Ladder(HUD *hud, const SGPropertyNode *n, float x, float y) :
     _zenith(n->getBoolValue("enable-zenith")),
     _nadir(n->getBoolValue("enable-nadir")),
     _hat(n->getBoolValue("enable-hat")),
-    _clip_box(new ClipBox(n->getNode("clip")))
+    _clip_box(new ClipBox(n->getNode("clipping")))
 {
     const char *t = n->getStringValue("type");
     _type = strcmp(t, "climb-dive") ? PITCH : CLIMB_DIVE;