From af92ade7283065f1daf72152c25a18f81ae50ee1 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Mon, 21 Jan 2019 21:00:00 -0800 Subject: [PATCH] properly initialize angular_velocity in cpuparticles2d --- scene/2d/cpu_particles_2d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/2d/cpu_particles_2d.cpp b/scene/2d/cpu_particles_2d.cpp index 36b900bf82b..7ace37aaf34 100644 --- a/scene/2d/cpu_particles_2d.cpp +++ b/scene/2d/cpu_particles_2d.cpp @@ -1378,6 +1378,7 @@ CPUParticles2D::CPUParticles2D() { set_param(PARAM_INITIAL_LINEAR_VELOCITY, 1); //set_param(PARAM_ORBIT_VELOCITY, 0); set_param(PARAM_LINEAR_ACCEL, 0); + set_param(PARAM_ANGULAR_VELOCITY, 0); set_param(PARAM_RADIAL_ACCEL, 0); set_param(PARAM_TANGENTIAL_ACCEL, 0); set_param(PARAM_DAMPING, 0);