Skip to content

Handle duplicate character names in scene builders - #1596

Open
yutingye wants to merge 1 commit into
mainfrom
export-D113994586
Open

Handle duplicate character names in scene builders#1596
yutingye wants to merge 1 commit into
mainfrom
export-D113994586

Conversation

@yutingye

Copy link
Copy Markdown
Contributor

Summary:
Both gltf io and fbx io support adding multiple "characters" (including rigid objects) to the same file. However, they will silently ignore a character with duplicated names.

This diff automatically assign a unique name (eg. "character_1") in this case with a warning, and return the new name in the API, so the caller can starting using the new name (eg. for adding associated data later).

Also added more tests to catch corner cases.

Differential Revision: D113994586

Summary:
Both gltf io and fbx io support adding multiple "characters" (including rigid objects) to the same file. However, they will silently ignore a character with duplicated names.

This diff automatically assign a unique name (eg. "character_1") in this case with a warning, and return the new name in the API, so the caller can starting using the new name (eg. for adding associated data later). 

Also added more tests to catch corner cases.

Differential Revision: D113994586
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 30, 2026
@meta-codesync

meta-codesync Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

@yutingye has exported this pull request. If you are a Meta employee, you can view the originating Diff in D113994586.

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

Labels

CLA Signed This label is managed by the Meta Open Source bot. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant