diff options
author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2021-01-09 10:04:09 -0800 |
---|---|---|
committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2021-01-11 06:07:54 -0800 |
commit | 59b61a1f64c2d77655cef89575cfd172c1e36832 (patch) | |
tree | 0eddf2bdfc416b1c77d77b1549926408778fbf35 /modules | |
parent | a33dc4274cdc7b46c7586e832baded992038bea8 (diff) |
Scale error in mesh optimizer so it uses absolute scale.
Switch to simplify sloppy for another try.
Update to meshoptimizer e3f53f66e7a35b9b8764bee478589d79e34fa698.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/meshoptimizer/register_types.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/meshoptimizer/register_types.cpp b/modules/meshoptimizer/register_types.cpp index 71cd9f4dcb..a03310f518 100644 --- a/modules/meshoptimizer/register_types.cpp +++ b/modules/meshoptimizer/register_types.cpp @@ -35,9 +35,13 @@ void register_meshoptimizer_types() { SurfaceTool::optimize_vertex_cache_func = meshopt_optimizeVertexCache; SurfaceTool::simplify_func = meshopt_simplify; + SurfaceTool::simplify_scale_func = meshopt_simplifyScale; + SurfaceTool::simplify_sloppy_func = meshopt_simplifySloppy; } void unregister_meshoptimizer_types() { SurfaceTool::optimize_vertex_cache_func = nullptr; SurfaceTool::simplify_func = nullptr; + SurfaceTool::simplify_scale_func = nullptr; + SurfaceTool::simplify_sloppy_func = nullptr; } |