Adapt max level to old version

This commit is contained in:
Simon Giraudot 2020-09-17 14:19:04 +02:00
parent 64693edffa
commit fb86a45d47
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public:
}
std::size_t maxLevel() const {
return m_octree.max_depth_reached();
return m_octree.max_depth_reached() - 1;
}
std::size_t offset() const { return m_offset; }