From 01c886d56fdd1a7631f08413d11f238a6b3fb662 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 19 Oct 2021 18:26:12 +0200 Subject: [PATCH] Now sd_shape_circle will emit changed events properly for it's type. --- game/addons/mat_maker_gd/nodes/sdf2d/sd_shape_circle.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/addons/mat_maker_gd/nodes/sdf2d/sd_shape_circle.gd b/game/addons/mat_maker_gd/nodes/sdf2d/sd_shape_circle.gd index 96260f79..9fe4e802 100644 --- a/game/addons/mat_maker_gd/nodes/sdf2d/sd_shape_circle.gd +++ b/game/addons/mat_maker_gd/nodes/sdf2d/sd_shape_circle.gd @@ -35,7 +35,7 @@ func get_center() -> Vector2: func set_center(val : Vector2) -> void: center = val - set_dirty(true) + output.emit_changed() #radius func get_radius() -> float: @@ -44,4 +44,4 @@ func get_radius() -> float: func set_radius(val : float) -> void: radius = val - set_dirty(true) + output.emit_changed()