diff options
author | smix8 <52464204+smix8@users.noreply.github.com> | 2023-03-12 02:36:16 +0100 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-16 16:45:07 +0100 |
commit | bea2da94da07b5cda93b59e2293ac0edde7e6aa5 (patch) | |
tree | 074d8ad86c8157db6ae311111bbe677b364c847d /scene/2d/navigation_agent_2d.h | |
parent | c6a704af2cc6b0bef66c61c83247aa65e6a664ef (diff) |
Allow negative NavigationAgent2D path debug line_width for thin lines
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering.
(cherry picked from commit f6a10c0565e32e0170bcce71635d8bad16077d1d)
Diffstat (limited to 'scene/2d/navigation_agent_2d.h')
-rw-r--r-- | scene/2d/navigation_agent_2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/navigation_agent_2d.h b/scene/2d/navigation_agent_2d.h index 1614c70229..97c5d94483 100644 --- a/scene/2d/navigation_agent_2d.h +++ b/scene/2d/navigation_agent_2d.h @@ -76,7 +76,7 @@ class NavigationAgent2D : public Node { // Debug properties for exposed bindings bool debug_enabled = false; float debug_path_custom_point_size = 4.0; - float debug_path_custom_line_width = 1.0; + float debug_path_custom_line_width = -1.0; bool debug_use_custom = false; Color debug_path_custom_color = Color(1.0, 1.0, 1.0, 1.0); #ifdef DEBUG_ENABLED |