Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImporterMesh generate_lods doesn't produce lods #1464

Open
Redcroft opened this issue May 17, 2024 · 1 comment
Open

ImporterMesh generate_lods doesn't produce lods #1464

Redcroft opened this issue May 17, 2024 · 1 comment

Comments

@Redcroft
Copy link

Godot version

4.2.2

godot-cpp version

4.2

System information

NixOS, Ryzen 3950X

Issue description

I have an ImporterMesh which brings in surfaces just fine, but after adding all the surfaces and trying to generate lods, none are generated

Steps to reproduce

  importer_mesh->generate_lods(UtilityFunctions::deg_to_rad(25), UtilityFunctions::deg_to_rad(60), Array());
  UtilityFunctions::print(importer_mesh->get_mesh()->_surface_get_lods(0));

no lods are generated, and the print debug is just { }.

Minimal reproduction project

lod.debug.zip

@AThousandShips
Copy link
Member

This isn't likely to be unique to godot-cpp, please make sure this only occurs with extension and not GDScript or C#, if it does occur with those please report over here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants