From 4d26b145763d6d69adb9911764a8b78ac0ffcf12 Mon Sep 17 00:00:00 2001 From: "L. Krause" Date: Sat, 5 Aug 2017 12:46:49 +0200 Subject: [PATCH] Initialize Particles2D draw order property --- scene/2d/particles_2d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/2d/particles_2d.cpp b/scene/2d/particles_2d.cpp index aa9258c7b44..b56f4f9ad92 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;