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

Content of a SortIndexBone is being cloned when using clone #1385

Open
phorward opened this issue Jan 24, 2025 · 0 comments
Open

Content of a SortIndexBone is being cloned when using clone #1385

phorward opened this issue Jan 24, 2025 · 0 comments
Labels
bug(fix) Something isn't working or address a specific issue or vulnerability help wanted Extra attention is needed Priority: Medium This issue may be useful, and needs some attention.

Comments

@phorward
Copy link
Member

The problem described in the title happens when you create an entry containing a SortIndexBone (and sorting by this) and afterwards clone this entry. The saved value created by SortIndexBone's defaultValue is just copied, and calculates always into the same value, so that sorting is impossible.

Workaround: Manually overwrite the cloned value to get unique values.

@phorward phorward added bug(fix) Something isn't working or address a specific issue or vulnerability Priority: Medium This issue may be useful, and needs some attention. help wanted Extra attention is needed labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug(fix) Something isn't working or address a specific issue or vulnerability help wanted Extra attention is needed Priority: Medium This issue may be useful, and needs some attention.
Projects
None yet
Development

No branches or pull requests

1 participant