Merge pull request #71925 from clayjohn/RD-particles-view
Ensure that Particles have fully initialized before doing view axis pass in RD renderers
This commit is contained in:
commit
738e96529e
1 changed files with 1 additions and 1 deletions
|
@ -1145,7 +1145,7 @@ void ParticlesStorage::particles_set_view_axis(RID p_particles, const Vector3 &p
|
||||||
return;
|
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
|
return; //particles have not processed yet
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue