summaryrefslogtreecommitdiffstats
path: root/scene/resources/2d
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/2d')
-rw-r--r--scene/resources/2d/navigation_mesh_source_geometry_data_2d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/2d/navigation_mesh_source_geometry_data_2d.h b/scene/resources/2d/navigation_mesh_source_geometry_data_2d.h
index 98c6c67c99..89167b5e98 100644
--- a/scene/resources/2d/navigation_mesh_source_geometry_data_2d.h
+++ b/scene/resources/2d/navigation_mesh_source_geometry_data_2d.h
@@ -38,6 +38,8 @@
#include "scene/resources/2d/navigation_polygon.h"
class NavigationMeshSourceGeometryData2D : public Resource {
+ friend class NavMeshGenerator2D;
+
GDCLASS(NavigationMeshSourceGeometryData2D, Resource);
RWLock geometry_rwlock;