1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +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 092a1cfb39
commit 8230e08f18
3 changed files with 15 additions and 7 deletions

View File

@@ -347,8 +347,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()) {