summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-22 10:17:14 +0200
committerGitHub <noreply@github.com>2020-05-22 10:17:14 +0200
commit90f46a19a4d061ab7978510876450f061c7636cc (patch)
tree9d8589502d6d89b6a576392280a09adfec3d881d /modules
parenta891c71426802e0b517369ce3343440b783e2a62 (diff)
parent59780fd046f4bcecbf892a47e47e2f22068b5d7c (diff)
Merge pull request #38366 from akien-mga/xatlas-470576d
xatlas: Sync with upstream 470576d
Diffstat (limited to 'modules')
-rw-r--r--modules/xatlas_unwrap/register_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/xatlas_unwrap/register_types.cpp b/modules/xatlas_unwrap/register_types.cpp
index b996be2a4c..6242009f67 100644
--- a/modules/xatlas_unwrap/register_types.cpp
+++ b/modules/xatlas_unwrap/register_types.cpp
@@ -145,7 +145,7 @@ bool xatlas_mesh_lightmap_unwrap_callback(float p_texel_size, const float *p_ver
ERR_FAIL_COND_V_MSG(err != xatlas::AddMeshError::Enum::Success, false, xatlas::StringForEnum(err));
printf("Generate..\n");
- xatlas::Generate(atlas, chart_options, nullptr, pack_options);
+ xatlas::Generate(atlas, chart_options, xatlas::ParameterizeOptions(), pack_options);
*r_size_hint_x = atlas->width;
*r_size_hint_y = atlas->height;