From 644f145ff260c6f9cf0e351d158c045019aa895d Mon Sep 17 00:00:00 2001 From: x2048 Date: Tue, 2 Aug 2022 23:51:50 +0200 Subject: Explicitly initialize value of particle parameter. Fixes #12621. --- src/particles.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/particles.h b/src/particles.h index 74bfa7fce..3061deb83 100644 --- a/src/particles.h +++ b/src/particles.h @@ -91,7 +91,7 @@ namespace ParticleParamTypes using ValType = T; using pickFactors = float[PN]; - T val; + T val = T(); using This = Parameter; Parameter() = default; -- cgit v1.2.3