Merge pull request #65411 from lawnjelly/flow_container_uninit
FlowContainer fix uninitialized data
This commit is contained in:
commit
e2030748b0
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue