summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-11-04 19:27:23 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-11-04 19:27:23 +0100
commitf5170dca75539788dcd201b09fcb4ebb77b21dba (patch)
tree6336d24b695904d6bb0896c822e7337a4a06e8ba /editor
parentee939c919b14a1935a0b6ccde338846a14cb9744 (diff)
Use 4× MSAA for the Advanced Import Options 3D preview
This results in better preview quality and is more consistent with the material preview in the inspector.
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/mesh_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
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)));