Emit changed notification when moving VertexLights.

This commit is contained in:
Relintai 2024-03-27 08:00:55 +01:00
parent a593fdff63
commit 76c5252239

View File

@ -178,6 +178,7 @@ void VertexLights2DServer::light_set_position(RID p_light, const Vector2 &p_posi
if (light->map) { if (light->map) {
// This ensure the light gets moved to the proper quadrant // This ensure the light gets moved to the proper quadrant
light->map->set_light_position(light, p_position); light->map->set_light_position(light, p_position);
_light_changed(light);
return; return;
} }