diff options
author | Leon Stansfield <leonstansfield208@gmail.com> | 2024-08-04 15:45:48 +0100 |
---|---|---|
committer | Leon Stansfield <leonstansfield208@gmail.com> | 2024-08-04 15:45:48 +0100 |
commit | 4aead96306c07b77c2ef28ee67a3e3c1b811d242 (patch) | |
tree | 90ffadc0730ff44a694df0d29fd4d7c8ff02d86f | |
parent | 48a54cb62f51cfb57a0b281d39477ba6d710cd85 (diff) | |
download | redot-engine-4aead96306c07b77c2ef28ee67a3e3c1b811d242.tar.gz |
Revent DRAW_ORDER_INDEX to DRAW_ORDER_LIFETIME default particle params for compatibility.
-rw-r--r-- | scene/2d/gpu_particles_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/gpu_particles_2d.cpp b/scene/2d/gpu_particles_2d.cpp index 3f9e9c8af4..3a63af0ab5 100644 --- a/scene/2d/gpu_particles_2d.cpp +++ b/scene/2d/gpu_particles_2d.cpp @@ -874,7 +874,7 @@ GPUParticles2D::GPUParticles2D() { set_randomness_ratio(0); set_visibility_rect(Rect2(Vector2(-100, -100), Vector2(200, 200))); set_use_local_coordinates(false); - set_draw_order(DRAW_ORDER_INDEX); + set_draw_order(DRAW_ORDER_LIFETIME); set_speed_scale(1); set_fixed_fps(30); set_collision_base_size(collision_base_size); |