summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-08-30 15:20:50 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-08-30 15:20:50 +0200
commitac053bb72dbe60f9bf43a3002e7331cd4ab28adb (patch)
treefc009745c0cacd82207f8a7de07b99e37a9222a6 /scene
parent02d510bd079b0730f14680f75a1325ce1da0ac09 (diff)
Fix build issue after #64377 and #64701
Diffstat (limited to 'scene')
-rw-r--r--scene/2d/gpu_particles_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/gpu_particles_2d.cpp b/scene/2d/gpu_particles_2d.cpp
index cb0349fefd..bed68b4ee0 100644
--- a/scene/2d/gpu_particles_2d.cpp
+++ b/scene/2d/gpu_particles_2d.cpp
@@ -376,7 +376,7 @@ void GPUParticles2D::_texture_changed() {
// Changes to the texture need to trigger an update to make
// the editor redraw the sprite with the updated texture.
if (texture.is_valid()) {
- update();
+ queue_redraw();
}
}