Explicitly initialize value of particle parameter. Fixes #12621.

This commit is contained in:
x2048 2022-08-02 23:51:50 +02:00
parent a81259d19a
commit 644f145ff2

@ -91,7 +91,7 @@ namespace ParticleParamTypes
using ValType = T; using ValType = T;
using pickFactors = float[PN]; using pickFactors = float[PN];
T val; T val = T();
using This = Parameter<T, PN>; using This = Parameter<T, PN>;
Parameter() = default; Parameter() = default;