diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-16 10:59:01 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-16 11:08:51 +0100 |
commit | 1de633205f232bf5f4f4b17e6087d8e4b8e4ebee (patch) | |
tree | 30ef344f179a4beb7b571d71791e4e9b39d7ae5f /doc/classes/CPUParticles.xml | |
parent | 3af0400a32a2f81aad0b56940af0d6a92b6ffc92 (diff) | |
download | redot-engine-1de633205f232bf5f4f4b17e6087d8e4b8e4ebee.tar.gz |
Validate input in (CPU)Particles set_emission_shape()
Fixes #29777.
Co-authored-by: Cameron Reikes <cameronreikes@gmail.com>
Diffstat (limited to 'doc/classes/CPUParticles.xml')
-rw-r--r-- | doc/classes/CPUParticles.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/CPUParticles.xml b/doc/classes/CPUParticles.xml index e68b0feb2d..cef0ee7587 100644 --- a/doc/classes/CPUParticles.xml +++ b/doc/classes/CPUParticles.xml @@ -367,5 +367,8 @@ <constant name="EMISSION_SHAPE_DIRECTED_POINTS" value="4" enum="EmissionShape"> Particles will be emitted at a position chosen randomly among [member emission_points]. Particle velocity and rotation will be set based on [member emission_normals]. Particle color will be modulated by [member emission_colors]. </constant> + <constant name="EMISSION_SHAPE_MAX" value="5" enum="EmissionShape"> + Represents the size of the [enum EmissionShape] enum. + </constant> </constants> </class> |