diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-02-13 00:34:16 +0100 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-27 16:34:05 +0200 |
commit | 3cae980c178905ac5be51c168698af7b355c4e9c (patch) | |
tree | 8e18a40f72092532c68b087457d2a1a01c53d095 /servers/rendering_server.h | |
parent | 34a087cc2c8f7c1444642723bbb4178e359dad61 (diff) |
Fix some ways to create inconsistent Viewport sizes
In the editor, it was possible to set the size of a `SubViewport` even
in cases where a parent `SubViewportContainer` had stretch enabled.
This PR disables editing a `SubViewport.size` while the parent disallows
it and it makes necessary adjustments during `NOTIFICATION_ENTER_TREE`.
(cherry picked from commit 34a7fc744762dcf66eff7e3b5e4d46e09e7c0bdc)
Diffstat (limited to 'servers/rendering_server.h')
0 files changed, 0 insertions, 0 deletions