Ensure that Particles have fully initialized before doing view axis pass in RD renderers

This commit is contained in:
clayjohn 2023-01-23 09:37:18 -08:00
parent e6bd9c10fc
commit ce8a2c6dbf

View file

@ -1145,7 +1145,7 @@ void ParticlesStorage::particles_set_view_axis(RID p_particles, const Vector3 &p
return;
}
if (particles->particle_buffer.is_null()) {
if (particles->particle_buffer.is_null() || particles->trail_bind_pose_uniform_set.is_null()) {
return; //particles have not processed yet
}