diff --git a/libraries/AC_Fence/AC_Fence.cpp b/libraries/AC_Fence/AC_Fence.cpp index 44c80b3b24..d3b7fd8692 100644 --- a/libraries/AC_Fence/AC_Fence.cpp +++ b/libraries/AC_Fence/AC_Fence.cpp @@ -498,7 +498,7 @@ void AC_Fence::handle_msg(GCS_MAVLINK &link, mavlink_message_t* msg) link.send_text(MAV_SEVERITY_WARNING, "Failed to save polygon point, too many points?"); } else { // trigger reload of points - _boundary_loaded = false; + _boundary_num_points = 0; } } break;