Skip to content

Commit

Permalink
Merge pull request #44044 from Wavesonics/xatlas-options-master
Browse files Browse the repository at this point in the history
xatlas should be using the options configured here
  • Loading branch information
akien-mga authored Dec 2, 2020
2 parents b36ff88 + 9367b1d commit 2a0de6d
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 2a0de6d

Please sign in to comment.