]> git.mxchange.org Git - simgear.git/commit
QuadTree fix for large buildings.
authorStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Fri, 6 Nov 2015 21:38:53 +0000 (21:38 +0000)
committerStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Fri, 6 Nov 2015 21:38:53 +0000 (21:38 +0000)
commit21e6dd34b260d2d65d1c6b968a8fc093d019a9a7
tree68615d4ed683c0ab373e9aea60579d203f45b7ed
parent319922f04483e48695ff975d98cac1d803477cfd
QuadTree fix for large buildings.

QuadTree relies on a bounding box to set up correctly.

ProxyNodes don't have a BB until the model is loaded,
causing the QuadTree to collapse if the DB loader can't
keep up with the STG loader.

Fix this by creating a default BB before the model
is loaded.
simgear/scene/tgdb/ReaderWriterSTG.cxx