Browse Source

Fix build issue after #64377 and #64701

Rémi Verschelde 3 years ago
parent
commit
ac053bb72d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/2d/gpu_particles_2d.cpp

+ 1 - 1
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
 	// Changes to the texture need to trigger an update to make
 	// the editor redraw the sprite with the updated texture.
 	// the editor redraw the sprite with the updated texture.
 	if (texture.is_valid()) {
 	if (texture.is_valid()) {
-		update();
+		queue_redraw();
 	}
 	}
 }
 }