diff options
author | L. Krause <eska@eska.me> | 2017-08-05 12:46:49 +0200 |
---|---|---|
committer | L. Krause <eska@eska.me> | 2017-08-05 12:46:49 +0200 |
commit | 4d26b145763d6d69adb9911764a8b78ac0ffcf12 (patch) | |
tree | 72afb48ee04e20f2ff30053fbc322dae103bb053 /scene/2d | |
parent | f79a5c464b95bdd274a4e9e5ff4713c7de2be011 (diff) |
Initialize Particles2D draw order property
Diffstat (limited to 'scene/2d')
-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; |