mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Initialize class variables with default values in scene/ [1/2]
This commit is contained in:
@@ -462,16 +462,6 @@ void Sprite2D::_bind_methods() {
|
||||
}
|
||||
|
||||
Sprite2D::Sprite2D() {
|
||||
centered = true;
|
||||
hflip = false;
|
||||
vflip = false;
|
||||
region = false;
|
||||
region_filter_clip = false;
|
||||
|
||||
frame = 0;
|
||||
|
||||
vframes = 1;
|
||||
hframes = 1;
|
||||
}
|
||||
|
||||
Sprite2D::~Sprite2D() {
|
||||
|
||||
Reference in New Issue
Block a user