diff options
author | reduz <reduzio@gmail.com> | 2021-05-10 13:12:44 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2021-05-11 11:21:36 -0300 |
commit | 479391ef5405226fa110ac3f5823ecbc7d987b0c (patch) | |
tree | 427b8179758b35cfc859d1e6fb853a4d60e086d5 /scene/3d | |
parent | a1cc6b45dca33982003e5646903df1453e2ab3ae (diff) |
Fixes missng 2D engine bits
-Mesh2D now works
-MultiMesh2D now works
-Polygon2D now works
-Added hooks for processing 2D particles
-Skeleton2D now works
2D particles still not working, but stuff needed for it is now implemented.
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/gpu_particles_3d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/gpu_particles_3d.cpp b/scene/3d/gpu_particles_3d.cpp index 5339b8a8da..50044ddc67 100644 --- a/scene/3d/gpu_particles_3d.cpp +++ b/scene/3d/gpu_particles_3d.cpp @@ -613,6 +613,7 @@ void GPUParticles3D::_bind_methods() { GPUParticles3D::GPUParticles3D() { particles = RS::get_singleton()->particles_create(); + RS::get_singleton()->particles_set_mode(particles, RS::PARTICLES_MODE_3D); set_base(particles); one_shot = false; // Needed so that set_emitting doesn't access uninitialized values set_emitting(true); |