From 85eca7bc933988fe7210b134522db9342c9f0c7b Mon Sep 17 00:00:00 2001 From: MarianoGNU Date: Wed, 7 Sep 2016 20:00:10 -0300 Subject: [PATCH] Explicitly initialize TextureProgress's initial angle value. (Hopefully) Fixes #3856 Fixes #6426 Fixes #6344 (cherry picked from commit ae4f7cbc2cbe6caa4eefd116be2d95c899e0e479) --- scene/gui/texture_progress.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/texture_progress.cpp b/scene/gui/texture_progress.cpp index 923a35031c0..2c576b6ba5a 100644 --- a/scene/gui/texture_progress.cpp +++ b/scene/gui/texture_progress.cpp @@ -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; }