Expose the cell_size affecting VisibilityNotifier2D precision

Refs: #4803
This commit is contained in:
Bojidar Marinov 2020-04-28 10:25:07 +03:00
parent 3fff0dda39
commit d49ff7aff7
No known key found for this signature in database
GPG key ID: 4B0FD31949AD430D
4 changed files with 6 additions and 3 deletions

View file

@ -314,7 +314,7 @@ struct SpatialIndexer2D {
pass = 0;
changed = false;
cell_size = 100; //should be configurable with GLOBAL_DEF("") i guess
cell_size = GLOBAL_DEF("world/2d/cell_size", 100);
}
};