Skip to content

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

Description

@Dragorn421

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions