From ae4f7cbc2cbe6caa4eefd116be2d95c899e0e479 Mon Sep 17 00:00:00 2001 From: MarianoGNU Date: Wed, 7 Sep 2016 20:00:10 -0300 Subject: Explicitly initialize TextureProgress's initial angle value. (Hopefully) Fixes #3856 Fixes #6426 Fixes #6344 --- 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 923a35031c..2c576b6ba5 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; } -- cgit v1.2.3