diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-01-11 15:41:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 15:41:41 +0100 |
commit | 323bdae229565ceb68c9924589e1303e046331a3 (patch) | |
tree | 57041b1a9f72cb5a970c764e284f3a8db254a41c /scene/resources/surface_tool.cpp | |
parent | acbd9505830dbfb46e912dec1a29c9a0db5db49f (diff) | |
parent | 59b61a1f64c2d77655cef89575cfd172c1e36832 (diff) |
Merge pull request #45038 from fire/meshopt-scale
Scale error in mesh optimizer so it uses absolute scale.
Diffstat (limited to 'scene/resources/surface_tool.cpp')
-rw-r--r-- | scene/resources/surface_tool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/surface_tool.cpp b/scene/resources/surface_tool.cpp index c1c87be42d..dbf5268762 100644 --- a/scene/resources/surface_tool.cpp +++ b/scene/resources/surface_tool.cpp @@ -35,6 +35,8 @@ SurfaceTool::OptimizeVertexCacheFunc SurfaceTool::optimize_vertex_cache_func = nullptr; SurfaceTool::SimplifyFunc SurfaceTool::simplify_func = nullptr; +SurfaceTool::SimplifyScaleFunc SurfaceTool::simplify_scale_func = nullptr; +SurfaceTool::SimplifySloppyFunc SurfaceTool::simplify_sloppy_func = nullptr; bool SurfaceTool::Vertex::operator==(const Vertex &p_vertex) const { if (vertex != p_vertex.vertex) { |