Fix regression from already disconnected emission shape changed signal

This commit is contained in:
Patrick Exner 2025-01-14 13:20:16 +01:00
parent 1ca03add30
commit 1d2c503b00

View file

@ -557,7 +557,6 @@ void GPUParticles3D::_notification(int p_what) {
Ref<ParticleProcessMaterial> material = get_process_material();
ERR_FAIL_COND(material.is_null());
material->disconnect("emission_shape_changed", callable_mp((Node3D *)this, &GPUParticles3D::update_gizmos));
} break;
case NOTIFICATION_SUSPENDED: