mirror of https://github.com/godotengine/godot
Ensure that Particles have fully initialized before doing view axis pass in RD renderers
This commit is contained in:
parent
e6bd9c10fc
commit
ce8a2c6dbf
|
|
@ -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 New Issue