Explicitly initialize TextureProgress's initial angle value.

(Hopefully)
Fixes #3856
Fixes #6426
Fixes #6344

(cherry picked from commit ae4f7cbc2c)
This commit is contained in:
MarianoGNU 2016-09-07 20:00:10 -03:00 committed by Rémi Verschelde
parent 2e6ce4b362
commit 85eca7bc93
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ void TextureProgress::_bind_methods() {
TextureProgress::TextureProgress()
{
mode=FILL_LEFT_TO_RIGHT;
rad_init_angle=0;
rad_center_off=Point2();
rad_max_degrees=360;
}