From f5170dca75539788dcd201b09fcb4ebb77b21dba Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 4 Nov 2021 19:27:23 +0100 Subject: [PATCH] =?UTF-8?q?Use=204=C3=97=20MSAA=20for=20the=20Advanced=20I?= =?UTF-8?q?mport=20Options=203D=20preview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This results in better preview quality and is more consistent with the material preview in the inspector. --- editor/plugins/mesh_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/mesh_editor_plugin.cpp b/editor/plugins/mesh_editor_plugin.cpp index dc16a7a325..8cfa1c89e8 100644 --- a/editor/plugins/mesh_editor_plugin.cpp +++ b/editor/plugins/mesh_editor_plugin.cpp @@ -110,7 +110,7 @@ MeshEditor::MeshEditor() { viewport->set_world_3d(world_3d); //use own world add_child(viewport); viewport->set_disable_input(true); - viewport->set_msaa(Viewport::MSAA_2X); + viewport->set_msaa(Viewport::MSAA_4X); set_stretch(true); camera = memnew(Camera3D); camera->set_transform(Transform3D(Basis(), Vector3(0, 0, 1.1)));