1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Merge pull request #40302 from verdog/camera-bounds-fix

Fix Camera2D Incorrect Preview Bounds
This commit is contained in:
Rémi Verschelde
2020-08-27 09:58:24 +02:00
committed by GitHub
3 changed files with 15 additions and 7 deletions

View File

@@ -456,8 +456,6 @@ void EditorNode::_notification(int p_what) {
editor_selection->update();
//scene_root->set_size_override(true, Size2(ProjectSettings::get_singleton()->get("display/window/size/width"), ProjectSettings::get_singleton()->get("display/window/size/height")));
{ //TODO should only happen on settings changed
int current_filter = GLOBAL_GET("rendering/canvas_textures/default_texture_filter");
if (current_filter != scene_root->get_default_canvas_item_texture_filter()) {