|
@@ -42,7 +42,7 @@ AABB GPUParticles3D::get_aabb() const {
|
|
|
|
|
|
void GPUParticles3D::set_emitting(bool p_emitting) {
|
|
|
// Do not return even if `p_emitting == emitting` because `emitting` is just an approximation.
|
|
|
- if (p_emitting && p_emitting != emitting && !use_fixed_seed) {
|
|
|
+ if (p_emitting && p_emitting != emitting && !use_fixed_seed && one_shot) {
|
|
|
set_seed(Math::rand());
|
|
|
}
|
|
|
if (p_emitting && one_shot) {
|