diff options
author | Rafał Mikrut <mikrutrafal@protonmail.com> | 2022-10-01 21:09:22 +0200 |
---|---|---|
committer | Rafał Mikrut <mikrutrafal@protonmail.com> | 2022-10-01 21:09:22 +0200 |
commit | 2233624152a3b041daeab8b0fd88a2061b7b8565 (patch) | |
tree | 27b6bc31c38e0629a23ea6142f54724045aa2bc5 /scene/3d | |
parent | 24115beb3c69e648b1d48f969785b9b0729e1be8 (diff) |
Remove usage of unitialized variables
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/cpu_particles_3d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/cpu_particles_3d.h b/scene/3d/cpu_particles_3d.h index d84b0aedd2..55c66632e2 100644 --- a/scene/3d/cpu_particles_3d.h +++ b/scene/3d/cpu_particles_3d.h @@ -156,7 +156,7 @@ private: real_t spread = 45.0; real_t flatness = 0.0; - real_t parameters_min[PARAM_MAX]; + real_t parameters_min[PARAM_MAX] = {}; real_t parameters_max[PARAM_MAX] = {}; Ref<Curve> curve_parameters[PARAM_MAX]; |