1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-04 03:45:31 +00:00

Apply suggestion to components/terrain/terraingrid.hpp

This commit is contained in:
Bret Curtis 2020-04-24 06:26:08 +00:00
parent 756ec7117b
commit ed970f4d17

View file

@ -28,7 +28,7 @@ namespace Terrain
View* createView();
protected:
bool isGridEmpty() { return mGrid.empty(); }
bool isGridEmpty() const { return mGrid.empty(); }
private:
osg::ref_ptr<osg::Node> buildTerrain (osg::Group* parent, float chunkSize, const osg::Vec2f& chunkCenter);