diff options
author | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2020-04-28 10:25:07 +0300 |
---|---|---|
committer | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2020-04-28 10:33:45 +0300 |
commit | d49ff7aff7783a6334de48f7086752a713590e5c (patch) | |
tree | db109a6dbce0341f38bdf11cfaf6d54e65dc8682 /scene | |
parent | 3fff0dda393e2496744a57d0e3897827c0bdc504 (diff) |
Expose the cell_size affecting VisibilityNotifier2D precision
Refs: #4803
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/world_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/world_2d.cpp b/scene/resources/world_2d.cpp index 742ef106d9..f2f67d3814 100644 --- a/scene/resources/world_2d.cpp +++ b/scene/resources/world_2d.cpp @@ -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); } }; |