mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Fix cpuparticles 3d.
This commit is contained in:
parent
0117097bb6
commit
9beaa6b80c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user