1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

fixed camera2D showing incorrect bounds in editor

This commit is contained in:
Josh Chandler
2020-04-29 19:45:07 -04:00
parent a474926aca
commit 79e44f4033
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()) {