From 9367b1d6c11c3f1960e0bcd2bfe64685da3bfc1b Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Wed, 2 Dec 2020 09:22:35 -0800 Subject: [PATCH] xatlas should be using the options configured here It was using the defaults by mistake --- modules/xatlas_unwrap/register_types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xatlas_unwrap/register_types.cpp b/modules/xatlas_unwrap/register_types.cpp index 19b827929d5..224038d6044 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;