From 76c5252239911ac6e003c75b0e09b4cd05ced819 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 27 Mar 2024 08:00:55 +0100 Subject: [PATCH] Emit changed notification when moving VertexLights. --- modules/vertex_lights_2d/vertex_lights_2d_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/vertex_lights_2d/vertex_lights_2d_server.cpp b/modules/vertex_lights_2d/vertex_lights_2d_server.cpp index beac07f5d..fd55702db 100644 --- a/modules/vertex_lights_2d/vertex_lights_2d_server.cpp +++ b/modules/vertex_lights_2d/vertex_lights_2d_server.cpp @@ -178,6 +178,7 @@ void VertexLights2DServer::light_set_position(RID p_light, const Vector2 &p_posi if (light->map) { // This ensure the light gets moved to the proper quadrant light->map->set_light_position(light, p_position); + _light_changed(light); return; }