Skip to content

Commit

Permalink
Merge pull request #64735 from KoBeWi/viewportshifter
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Sep 2, 2022
2 parents 3a62c29 + 3a4a4ae commit 6ccbc27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scene/main/viewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}

Expand Down

0 comments on commit 6ccbc27

Please sign in to comment.