Fix some editor crashes
This commit is contained in:
parent
5c66771e3e
commit
c77ff48a85
4 changed files with 33 additions and 20 deletions
|
|
@ -241,6 +241,7 @@ Vector3 GridMap::get_cell_size() const {
|
|||
|
||||
void GridMap::set_octant_size(int p_size) {
|
||||
|
||||
ERR_FAIL_COND(p_size == 0);
|
||||
octant_size = p_size;
|
||||
_recreate_octant_data();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue