1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-03 02:09:41 +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);