diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-02-13 00:34:16 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-02-13 08:19:00 +0100 |
commit | 34a7fc744762dcf66eff7e3b5e4d46e09e7c0bdc (patch) | |
tree | f8e4e4457b66c45a704ffa41d99c9d4a52a6d243 /modules/gdscript/gdscript.cpp | |
parent | 72c5b56d04f18c7ab078cb543d9dc68d05958d11 (diff) | |
download | redot-engine-34a7fc744762dcf66eff7e3b5e4d46e09e7c0bdc.tar.gz |
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`.
Diffstat (limited to 'modules/gdscript/gdscript.cpp')
0 files changed, 0 insertions, 0 deletions