summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-12-02 20:53:54 +0100
committerGitHub <noreply@github.com>2020-12-02 20:53:54 +0100
commit2a0de6d88cfdc7cbd42e448fd44f1fbc438b320c (patch)
treebd91f7e09ffc1d2f5ce103341935a190216abd76
parentb36ff888a0e5b4fa2c53cce8ed78321d727bc041 (diff)
parent9367b1d6c11c3f1960e0bcd2bfe64685da3bfc1b (diff)
Merge pull request #44044 from Wavesonics/xatlas-options-master
xatlas should be using the options configured here
-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 19b827929d..224038d604 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::Success, false, xatlas::StringForEnum(err));
printf("Generate..\n");
- xatlas::Generate(atlas, chart_options, xatlas::PackOptions());
+ xatlas::Generate(atlas, chart_options, pack_options);
*r_size_hint_x = atlas->width;
*r_size_hint_y = atlas->height;