FlowContainer fix uninitialized data

This uninitialized data was finding its way into the renderer.

(cherry picked from commit fa4a325180)
This commit is contained in:
lawnjelly 2022-09-06 08:45:39 +01:00 committed by Rémi Verschelde
parent 28800cfb23
commit 1c6467c6e4

View File

@ -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() {