diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2021-02-10 20:06:14 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-10 20:06:14 -0300 |
| commit | ad293a82f1fc2e4baa35f54b9b8038df72d23737 (patch) | |
| tree | 7edbd352cf34d87b4d8e604c1730251c38131e19 /scene/2d/cpu_particles_2d.cpp | |
| parent | e8f73124a7d97abc94cea3cf7fe5b5614f61a448 (diff) | |
| parent | 1aa2823fa32c7a4b41d806418ec99949fc44ffb3 (diff) | |
Merge pull request #45879 from reduz/remove-change-notify
Removed _change_notify(property)
Diffstat (limited to 'scene/2d/cpu_particles_2d.cpp')
| -rw-r--r-- | scene/2d/cpu_particles_2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/cpu_particles_2d.cpp b/scene/2d/cpu_particles_2d.cpp index 5e6a89fa18..0e51264171 100644 --- a/scene/2d/cpu_particles_2d.cpp +++ b/scene/2d/cpu_particles_2d.cpp @@ -410,7 +410,7 @@ bool CPUParticles2D::get_particle_flag(ParticleFlags p_particle_flag) const { void CPUParticles2D::set_emission_shape(EmissionShape p_shape) { ERR_FAIL_INDEX(p_shape, EMISSION_SHAPE_MAX); emission_shape = p_shape; - _change_notify(); + notify_property_list_changed(); } void CPUParticles2D::set_emission_sphere_radius(float p_radius) { @@ -599,7 +599,7 @@ void CPUParticles2D::_particles_process(float p_delta) { cycle++; if (one_shot && cycle > 0) { set_emitting(false); - _change_notify(); + notify_property_list_changed(); } } |