mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Explicitly initialize TextureProgress's initial angle value.
(Hopefully) Fixes #3856 Fixes #6426 Fixes #6344
This commit is contained in:
@@ -297,6 +297,7 @@ void TextureProgress::_bind_methods() {
|
|||||||
TextureProgress::TextureProgress()
|
TextureProgress::TextureProgress()
|
||||||
{
|
{
|
||||||
mode=FILL_LEFT_TO_RIGHT;
|
mode=FILL_LEFT_TO_RIGHT;
|
||||||
|
rad_init_angle=0;
|
||||||
rad_center_off=Point2();
|
rad_center_off=Point2();
|
||||||
rad_max_degrees=360;
|
rad_max_degrees=360;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user