From 82d1e29132015ed7f047548fc8a721fe1e29fbd6 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 5 Aug 2022 17:26:07 +0200 Subject: [PATCH] Made the test continent also draw radius and bevel indicators when edited. --- game/scripts/world_generator/continents/test_continent.gd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/game/scripts/world_generator/continents/test_continent.gd b/game/scripts/world_generator/continents/test_continent.gd index 98a77a39..b24700cd 100644 --- a/game/scripts/world_generator/continents/test_continent.gd +++ b/game/scripts/world_generator/continents/test_continent.gd @@ -11,7 +11,11 @@ var current_seed : int = 0 func _eitor_draw_additional(control : Control) -> void: gui_draw_continent_radius(control, Color(0.6, 0.6, 0.6, 1)) gui_draw_continent_bevel(control, Color(1, 1, 1, 1)) - + +func _eitor_draw_additional_background(control : Control) -> void: + gui_draw_continent_radius(control, Color(0.3, 0.3, 0.3, 1)) + gui_draw_continent_bevel(control, Color(0.6, 0.6, 0.6, 1)) + func gui_draw_continent_radius(control : Control, color : Color) -> void: var s : Vector2 = control.get_size()