summaryrefslogtreecommitdiff
path: root/modules/navigation/nav_region.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/navigation/nav_region.h')
-rw-r--r--modules/navigation/nav_region.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/navigation/nav_region.h b/modules/navigation/nav_region.h
index 8d2b5aa9eb..3ef3ef5748 100644
--- a/modules/navigation/nav_region.h
+++ b/modules/navigation/nav_region.h
@@ -48,7 +48,9 @@ class NavRegion : public NavBase {
LocalVector<gd::Polygon> polygons;
public:
- NavRegion() {}
+ NavRegion() {
+ type = NavigationUtilities::PathSegmentType::PATH_SEGMENT_TYPE_REGION;
+ }
void scratch_polygons() {
polygons_dirty = true;