You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
Fix Viewport size change not updating textures
(cherry picked from commit 3a4a4aeade)
This commit is contained in:
@@ -730,6 +730,10 @@ void Viewport::set_size(const Size2 &p_size) {
|
||||
_update_stretch_transform();
|
||||
update_configuration_warning();
|
||||
|
||||
for (Set<ViewportTexture *>::Element *E = viewport_textures.front(); E; E = E->next()) {
|
||||
E->get()->emit_changed();
|
||||
}
|
||||
|
||||
emit_signal("size_changed");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user