UI Node's dimensions are incorrectly calculated if camera at first node's update had zero size #13600
Labels
A-UI
Graphical user interfaces, styles, layouts, and widgets
C-Bug
An unexpected or incorrect behavior
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
The reason is that compute_camera_layout() updates resolution in root_nodes.implicit_viewport_node which containes node for viewport (this is correct, because available_space relates to viewport), but then update_uinode_geometry_recursive() updates geometry starting from user ui root node which is just a child of viewport node. So user ui root node doesn't update according to updated camera.size.
Originally posted by @bugsweeper in #13517 (comment)
The text was updated successfully, but these errors were encountered: