diff options
author | Josh Jones <kilauea.jones@gmail.com> | 2022-08-06 23:54:57 -0700 |
---|---|---|
committer | Josh Jones <kilauea.jones@gmail.com> | 2022-08-06 23:54:57 -0700 |
commit | 92c40bcf325ce91279c14f0b6a42c200fe4faf51 (patch) | |
tree | d0d4269a34b231969c3c1a59ff9dccdc60f70326 /scene/2d | |
parent | 21f6916ffc52d83ac57b4f412f3eb8d6b40afebe (diff) |
Fix NavigationRegion3D gizmo's odd visual behavior
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/navigation_region_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/navigation_region_2d.cpp b/scene/2d/navigation_region_2d.cpp index 6f189a57e8..50ae557906 100644 --- a/scene/2d/navigation_region_2d.cpp +++ b/scene/2d/navigation_region_2d.cpp @@ -494,7 +494,7 @@ void NavigationRegion2D::_notification(int p_what) { // Generate the polygon color, slightly randomly modified from the settings one. Color random_variation_color; - random_variation_color.set_hsv(color.get_h() + rand.random(-1.0, 1.0) * 0.05, color.get_s(), color.get_v() + rand.random(-1.0, 1.0) * 0.1); + random_variation_color.set_hsv(color.get_h() + rand.random(-1.0, 1.0) * 0.1, color.get_s(), color.get_v() + rand.random(-1.0, 1.0) * 0.2); random_variation_color.a = color.a; Vector<Color> colors; colors.push_back(random_variation_color); |