diff --git a/scene/3d/cpu_particles.cpp b/scene/3d/cpu_particles.cpp index 732a2f488..69d08da74 100644 --- a/scene/3d/cpu_particles.cpp +++ b/scene/3d/cpu_particles.cpp @@ -95,7 +95,7 @@ void CPUParticles::set_amount(int p_amount) { particle_data.fill(0); particle_data_prev.fill(0); - RS::get_singleton()->multimesh_allocate(multimesh, p_amount, RS::MULTIMESH_TRANSFORM_2D, RS::MULTIMESH_COLOR_8BIT, RS::MULTIMESH_CUSTOM_DATA_FLOAT); + RS::get_singleton()->multimesh_allocate(multimesh, p_amount, RS::MULTIMESH_TRANSFORM_3D, RS::MULTIMESH_COLOR_8BIT, RS::MULTIMESH_CUSTOM_DATA_FLOAT); particle_order.resize(p_amount); }