summaryrefslogtreecommitdiff
path: root/modules/xatlas_unwrap
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-20 13:03:57 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-05-20 13:51:15 +0200
commit59780fd046f4bcecbf892a47e47e2f22068b5d7c (patch)
treebc8cacb0dd1f663a337027c814ff969c471fdc13 /modules/xatlas_unwrap
parent9a75425b5ba35e5f7ac840e3eb8d5d15a99562cf (diff)
xatlas: Sync with upstream 470576d
Diffstat (limited to 'modules/xatlas_unwrap')
-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;