Fix Viewport size change not updating textures

This commit is contained in:
kobewi 2022-08-22 16:34:47 +02:00
parent ff7c10f709
commit 3a4a4aeade

View file

@ -801,6 +801,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"));
}