summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-05 11:42:47 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-05 11:42:47 +0200
commit5b6ccf2fd2c0e01481bad47d4403e7173476bfe2 (patch)
tree9b12a6a603d21f6e0feee43a7c06f031e0fd284d /scene/3d
parent33f4c5282f3f6f64cd97c30978d130b6efbc94ce (diff)
parent2233624152a3b041daeab8b0fd88a2061b7b8565 (diff)
Merge pull request #66720 from qarmin/unintialized_memory
Remove usage of unitialized variables
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/cpu_particles_3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/cpu_particles_3d.h b/scene/3d/cpu_particles_3d.h
index 26c702172b..6b70137736 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];