Skip to content

#4314 Fix model suffixes #4346

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

Merged
merged 1 commit into from
Jul 8, 2025
Merged

Conversation

akleshchev
Copy link
Contributor

Usecase: Unable to use the same GLB model for physics

@akleshchev akleshchev linked an issue Jul 8, 2025 that may be closed by this pull request
// Set name and suffix. Suffix is nessesary for model matching logic
// because sometimes higher lod can be used as a lower one, so they
// need unique names not just in scope of one lod, but across lods.
pModel->mLabel = base_name + lod_suffix[mLod];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I missed that before for some reason.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this is still incomplete, need to add getLodlessLabel.

@akleshchev akleshchev force-pushed the andreyk/viewer_4314 branch from 87cc192 to a424b6b Compare July 8, 2025 18:38
@akleshchev akleshchev marked this pull request as draft July 8, 2025 18:41
Usecase: Unable to use the same GLB model for physics
@akleshchev akleshchev force-pushed the andreyk/viewer_4314 branch from a424b6b to 3623c71 Compare July 8, 2025 19:04
@akleshchev akleshchev marked this pull request as ready for review July 8, 2025 19:04
@akleshchev akleshchev requested a review from marchcat July 8, 2025 19:05
@akleshchev
Copy link
Contributor Author

Updated, added getLodlessLabel

@akleshchev akleshchev merged commit 60425f6 into project/gltf_mesh_import Jul 8, 2025
10 of 12 checks passed
@akleshchev akleshchev deleted the andreyk/viewer_4314 branch July 8, 2025 20:13
@github-actions github-actions bot locked and limited conversation to collaborators Jul 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GLTF Mesh Import: Unable to use the same GLB model for physics
3 participants