1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-02-10 13:38:50 +00:00
openmw/components/terrain
Bo Svensson d88d006984
fixes getViewDistance (#3207)
I have been informed by @akortunov that my addition of `Groundcover::getViewDistance` is not working in some cases. Investigations revealed that some `ViewData` code interacting with my additions had been quite thoroughly optimised in a way that was not sufficiently documented and interfered with the new feature. With this PR we repair `getViewDistance` while preserving such optimisations and add a necessary comment to avoid issues in the future. In addition, we now rebuild views when the global `mViewDistance` changes.
2021-10-31 12:59:34 +01:00
..
buffercache.cpp
buffercache.hpp
cellborder.cpp
cellborder.hpp
chunkmanager.cpp
chunkmanager.hpp
compositemaprenderer.cpp
compositemaprenderer.hpp
defs.hpp
material.cpp
material.hpp
quadtreenode.cpp
quadtreenode.hpp
quadtreeworld.cpp fixes getViewDistance (#3207) 2021-10-31 12:59:34 +01:00
quadtreeworld.hpp fixes getViewDistance (#3207) 2021-10-31 12:59:34 +01:00
storage.hpp
terraindrawable.cpp
terraindrawable.hpp
terraingrid.cpp
terraingrid.hpp
texturemanager.cpp
texturemanager.hpp
viewdata.cpp fixes getViewDistance (#3207) 2021-10-31 12:59:34 +01:00
viewdata.hpp fixes getViewDistance (#3207) 2021-10-31 12:59:34 +01:00
world.cpp
world.hpp