Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
This commit is contained in:
parent
cb59236ce9
commit
44ecfb028d
13 changed files with 26 additions and 25 deletions
|
|
@ -188,7 +188,7 @@ Error ResourceImporterOBJ::import(const String &p_source_file, const String &p_s
|
|||
|
||||
Vector3 vertex = vertices[vtx];
|
||||
if (weld_vertices)
|
||||
vertex = vertex.snapped(weld_tolerance);
|
||||
vertex.snap(Vector3(weld_tolerance, weld_tolerance, weld_tolerance));
|
||||
surf_tool->add_vertex(vertex);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue