You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Merge pull request #44044 from Wavesonics/xatlas-options-master
xatlas should be using the options configured here
This commit is contained in:
@@ -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));
|
ERR_FAIL_COND_V_MSG(err != xatlas::AddMeshError::Success, false, xatlas::StringForEnum(err));
|
||||||
|
|
||||||
printf("Generate..\n");
|
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_x = atlas->width;
|
||||||
*r_size_hint_y = atlas->height;
|
*r_size_hint_y = atlas->height;
|
||||||
|
|||||||
Reference in New Issue
Block a user