Fix various typos with codespell
Using 2.2.6.dev180+ge3a2cfbd.
This commit is contained in:
parent
6a007c7512
commit
5c43e4c1ef
12 changed files with 22 additions and 22 deletions
|
|
@ -48,11 +48,11 @@ void GPUParticles3D::set_emitting(bool p_emitting) {
|
|||
// Last cycle ended.
|
||||
active = true;
|
||||
time = 0;
|
||||
signal_cancled = false;
|
||||
signal_canceled = false;
|
||||
emission_time = lifetime;
|
||||
active_time = lifetime * (2 - explosiveness_ratio);
|
||||
} else {
|
||||
signal_cancled = true;
|
||||
signal_canceled = true;
|
||||
}
|
||||
set_process_internal(true);
|
||||
} else if (!p_emitting) {
|
||||
|
|
@ -397,7 +397,7 @@ void GPUParticles3D::restart() {
|
|||
|
||||
emitting = true;
|
||||
active = true;
|
||||
signal_cancled = false;
|
||||
signal_canceled = false;
|
||||
time = 0;
|
||||
emission_time = lifetime * (1 - explosiveness_ratio);
|
||||
active_time = lifetime * (2 - explosiveness_ratio);
|
||||
|
|
@ -465,7 +465,7 @@ void GPUParticles3D::_notification(int p_what) {
|
|||
}
|
||||
}
|
||||
if (time > active_time) {
|
||||
if (active && !signal_cancled) {
|
||||
if (active && !signal_canceled) {
|
||||
emit_signal(SceneStringNames::get_singleton()->finished);
|
||||
}
|
||||
active = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue