]> git.mxchange.org Git - flightgear.git/commit
Fix for "falling through ground" problem
authortimoore <timoore>
Thu, 20 Dec 2007 23:20:51 +0000 (23:20 +0000)
committertimoore <timoore>
Thu, 20 Dec 2007 23:20:51 +0000 (23:20 +0000)
commit853e371d1e02e7cd491fffca11bab5814a6ac1d9
tree8b63d610adb21867d043d2dd8a7e55fbff64697b
parentc00ab2588e12a37ba49d8ba790e0a18e6cf9310e
Fix for "falling through ground" problem

The LOD far range on the tile entry scenegraph node was initialized to
0. This meant that any traverals of active children that happened
before the tile manager updated the node would ignore the node
altogether. Among these is the groundcache traversal which was failing
at startup even though scenery was loaded.

Also added a function to dump scene graph nodes to files; very handy
in gdb.
src/FDM/groundcache.cxx
src/Main/renderer.cxx
src/Scenery/tileentry.cxx