From 79f54f71bf30a4bbde7a2d66fb5a5a2df7a6b4f2 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 14 Apr 2025 13:49:29 +0200 Subject: [PATCH] Don't use octahedral compression in the prop module's gizmos. --- modules/props/editor/prop_editor_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/props/editor/prop_editor_plugin.cpp b/modules/props/editor/prop_editor_plugin.cpp index 19afff090..e3e9c05cc 100644 --- a/modules/props/editor/prop_editor_plugin.cpp +++ b/modules/props/editor/prop_editor_plugin.cpp @@ -234,7 +234,7 @@ void PropInstanceSpatialGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) { mesh_arr[RS::ARRAY_VERTEX] = points; - cm->add_surface_from_arrays(Mesh::PRIMITIVE_LINES, mesh_arr); + cm->add_surface_from_arrays(Mesh::PRIMITIVE_LINES, mesh_arr, Array(), 0); Ref tm = cm->generate_triangle_mesh_from_aabb(); if (tm.is_valid()) { @@ -329,7 +329,7 @@ void TiledWallSpatialGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) { mesh_arr[RS::ARRAY_VERTEX] = points; - cm->add_surface_from_arrays(Mesh::PRIMITIVE_LINES, mesh_arr); + cm->add_surface_from_arrays(Mesh::PRIMITIVE_LINES, mesh_arr, Array(), 0); Ref tm = cm->generate_triangle_mesh_from_aabb(); if (tm.is_valid()) {