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

[Skeleton Viewer] Exception when selecting bone in hierarchy if executing dlists has errors #58

Open
Dragorn421 opened this issue Oct 3, 2021 · 1 comment

Comments

@Dragorn421
Copy link
Contributor

How to reproduce

Open object_zf in object analyzer
Click "analyze dlists"
Open skeleton in skeleton viewer
Select some limb in the hierarchy with an index "high enough" (?)

Expected result

out-of-bounds indexing into _skelRenderer.LimbDlists in TreeView_hierarchy_AfterSelect (SkeletonViewerForm.cs) due to _skelRenderer.LimbDlists not being (fully?) initialized

Comments

The issue seems to be _skelRenderer.LimbDlists isn't initialized until dlist errors such as "jumping to unset segment" are resolved (eg by setting said segment to empty dlist)

I need to confirm this happens in current dev branch, may just be my local changes but I don't feel like investigating right now

@Dragorn421
Copy link
Contributor Author

also happens when selecting an animation while the skeleton isn't fully set

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

No branches or pull requests

1 participant