diff options
author | Rafał Mikrut <mikrutrafal@protonmail.com> | 2021-02-09 18:24:36 +0100 |
---|---|---|
committer | Rafał Mikrut <mikrutrafal@protonmail.com> | 2021-02-09 18:24:36 +0100 |
commit | 7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e (patch) | |
tree | 9560a84f1300e2466338426f2e267adba6a06a53 /scene/gui/texture_rect.cpp | |
parent | df9c98e107b19fc50bc5ae9f7ed624d693c0fb32 (diff) | |
download | redot-engine-7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e.tar.gz |
Initialize class variables with default values in scene/ [2/2]
Diffstat (limited to 'scene/gui/texture_rect.cpp')
-rw-r--r-- | scene/gui/texture_rect.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/gui/texture_rect.cpp b/scene/gui/texture_rect.cpp index beb06b7739..1cba88e06f 100644 --- a/scene/gui/texture_rect.cpp +++ b/scene/gui/texture_rect.cpp @@ -217,11 +217,7 @@ bool TextureRect::is_flipped_v() const { } TextureRect::TextureRect() { - expand = false; - hflip = false; - vflip = false; set_mouse_filter(MOUSE_FILTER_PASS); - stretch_mode = STRETCH_SCALE_ON_EXPAND; } TextureRect::~TextureRect() { |