Browse Source

Explicitly initialize TextureProgress's initial angle value.
(Hopefully)
Fixes #3856
Fixes #6426
Fixes #6344

MarianoGNU 9 years ago
parent
commit
ae4f7cbc2c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scene/gui/texture_progress.cpp

+ 1 - 0
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;
 }