Fix Viewport size change not updating textures
This commit is contained in:
parent
ff7c10f709
commit
3a4a4aeade
1 changed files with 4 additions and 0 deletions
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue