mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 12:43:43 +00:00
FlowContainer fix uninitialized data
This uninitialized data was finding its way into the renderer.
This commit is contained in:
parent
4d4c6c187d
commit
fa4a325180
@ -243,6 +243,8 @@ int FlowContainer::get_line_count() const {
|
||||
|
||||
FlowContainer::FlowContainer(bool p_vertical) {
|
||||
vertical = p_vertical;
|
||||
cached_size = 0;
|
||||
cached_line_count = 0;
|
||||
}
|
||||
|
||||
void FlowContainer::_bind_methods() {
|
||||
|
Loading…
Reference in New Issue
Block a user