Skip to content

Commit

Permalink
xatlas should be using the options configured here
Browse files Browse the repository at this point in the history
It was using the defaults by mistake
  • Loading branch information
Wavesonics committed Dec 2, 2020
1 parent 3beab26 commit 9367b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/xatlas_unwrap/register_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9367b1d

Please sign in to comment.