FlowContainer fix uninitialized data
This uninitialized data was finding its way into the renderer.
This commit is contained in:
parent
4d4c6c187d
commit
fa4a325180
1 changed files with 2 additions and 0 deletions
|
@ -243,6 +243,8 @@ int FlowContainer::get_line_count() const {
|
||||||
|
|
||||||
FlowContainer::FlowContainer(bool p_vertical) {
|
FlowContainer::FlowContainer(bool p_vertical) {
|
||||||
vertical = p_vertical;
|
vertical = p_vertical;
|
||||||
|
cached_size = 0;
|
||||||
|
cached_line_count = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FlowContainer::_bind_methods() {
|
void FlowContainer::_bind_methods() {
|
||||||
|
|
Loading…
Reference in a new issue