You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Initialize class variables with default values in scene/ [2/2]
This commit is contained in:
@@ -49,11 +49,11 @@ public:
|
||||
};
|
||||
|
||||
private:
|
||||
bool expand;
|
||||
bool hflip;
|
||||
bool vflip;
|
||||
bool expand = false;
|
||||
bool hflip = false;
|
||||
bool vflip = false;
|
||||
Ref<Texture2D> texture;
|
||||
StretchMode stretch_mode;
|
||||
StretchMode stretch_mode = STRETCH_SCALE_ON_EXPAND;
|
||||
|
||||
void _texture_changed();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user