mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
Fix Viewport size change not updating textures
(cherry picked from commit 3a4a4aeadec36324da394238cf0f86dbac345e93)
This commit is contained in:
parent
98039d80f6
commit
b5b6d14d37
@ -708,6 +708,10 @@ void Viewport::set_size(const Size2 &p_size) {
|
|||||||
_update_stretch_transform();
|
_update_stretch_transform();
|
||||||
update_configuration_warning();
|
update_configuration_warning();
|
||||||
|
|
||||||
|
for (Set<ViewportTexture *>::Element *E = viewport_textures.front(); E; E = E->next()) {
|
||||||
|
E->get()->emit_changed();
|
||||||
|
}
|
||||||
|
|
||||||
emit_signal("size_changed");
|
emit_signal("size_changed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user