]> git.mxchange.org Git - simgear.git/commit
Make expiry time for paged models settable from props
authorTorsten Dreyer <torsten@ŧ3r.de>
Wed, 19 Nov 2014 16:23:29 +0000 (17:23 +0100)
committerTorsten Dreyer <torsten@ŧ3r.de>
Wed, 19 Nov 2014 16:23:29 +0000 (17:23 +0100)
commit023b5a09f718eff4d0808584f41fef5cc4a4d7ae
tree3b8af3418a94fb3dd747390fbeece894e9bf34bb
parent46fe57fb8de917e442d281940a7a7d5de334ff8f
Make expiry time for paged models settable from props

Our paged models used the default minimumExpiryTime of zero seconds
which caused frequent stutter with AI traffic loaded.
This patch sets the minimumExpiryTime to 180 seconds, more than enough
to hold the models in memory during a full standard rate turn.

The property to set the expiry time is
/sim/rendering/plod-minimum-expiry-time-secs
simgear/scene/model/modellib.cxx