diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-02 15:42:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 15:42:42 +0200 |
commit | 6ccbc2709323c3f77f9509dcf55edad6d46e2a7c (patch) | |
tree | 98bc5e38b2eb0abcc37f6c4de1657d2fe886f3ee | |
parent | 3a62c294c72f30f3186403fa57533b4226899e53 (diff) | |
parent | 3a4a4aeadec36324da394238cf0f86dbac345e93 (diff) |
Merge pull request #64735 from KoBeWi/viewportshifter
-rw-r--r-- | scene/main/viewport.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 1bb1faacdd..e901f76c0a 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -805,6 +805,10 @@ void Viewport::_set_size(const Size2i &p_size, const Size2i &p_size_2d_override, update_canvas_items(); + for (ViewportTexture *E : viewport_textures) { + E->emit_changed(); + } + emit_signal(SNAME("size_changed")); } |