From 0c75d5d70cb26b425a7e1a2f27c67a56482b5ed8 Mon Sep 17 00:00:00 2001 From: Alex Drozd Date: Sun, 18 Jun 2023 22:56:26 +0200 Subject: [PATCH] apply selected texture filter when editing UV --- editor/plugins/polygon_2d_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/plugins/polygon_2d_editor_plugin.cpp b/editor/plugins/polygon_2d_editor_plugin.cpp index a2549c73763..d2b3efcd653 100644 --- a/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/editor/plugins/polygon_2d_editor_plugin.cpp @@ -298,6 +298,8 @@ void Polygon2DEditor::_menu_option(int p_option) { return; } + uv_edit_draw->set_texture_filter(node->get_texture_filter_in_tree()); + Vector points = node->get_polygon(); Vector uvs = node->get_uv(); if (uvs.size() != points.size()) {