Skip to content

Conversation

@jordanpg
Copy link
Contributor

@jordanpg jordanpg commented Dec 17, 2023

Missing EndDisabled call was upsetting ImGui and making it crash the game

Build Artifacts

@garrettjoecox garrettjoecox merged commit d99cd52 into HarbourMasters:develop-rando Dec 18, 2023
@jordanpg jordanpg deleted the fix-failed-imgui-assert branch December 18, 2023 00:08
mNeedsUpdate = true;
}
ImGui::PopStyleVar(1);
ImGui::EndDisabled();
Copy link
Contributor

Choose a reason for hiding this comment

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

This should move before the PopStyleVar to maintain the call order of push/pop and begin/end

Copy link
Contributor

Choose a reason for hiding this comment

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

TOOO LATE

Copy link
Contributor Author

Choose a reason for hiding this comment

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

AHHHHHHH

Copy link
Contributor Author

Choose a reason for hiding this comment

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

got a pr up for this at #3533 haha

@jordanpg jordanpg restored the fix-failed-imgui-assert branch December 18, 2023 00:11
@jordanpg jordanpg mentioned this pull request Dec 18, 2023
garrettjoecox pushed a commit that referenced this pull request Dec 18, 2023
* add make sure disabled flag gets popped

* reordering : ]

* what?

---------

Co-authored-by: jordanpg <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants