diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-07 14:50:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 14:50:59 +0200 |
commit | 9244ea6d5495cced4005388566915d35eb3a1412 (patch) | |
tree | 0bdf6e62f2c0479088056e426ff24c9f3d12046f /scene | |
parent | 19231aa80fce8141f2c6c7f699b050663d8f391f (diff) | |
parent | 4d26b145763d6d69adb9911764a8b78ac0ffcf12 (diff) |
Merge pull request #10109 from eska014/init-particles2d-draw-order
Initialize Particles2D draw order property
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/particles_2d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/particles_2d.cpp b/scene/2d/particles_2d.cpp index aa9258c7b4..b56f4f9ad9 100644 --- a/scene/2d/particles_2d.cpp +++ b/scene/2d/particles_2d.cpp @@ -396,6 +396,7 @@ Particles2D::Particles2D() { set_randomness_ratio(0); set_visibility_rect(Rect2(Vector2(-100, -100), Vector2(200, 200))); set_use_local_coordinates(true); + set_draw_order(DRAW_ORDER_INDEX); set_speed_scale(1); h_frames = 1; v_frames = 1; |