Skip to content

Fix Plando Resize Crash#4700

Merged
Malkierian merged 1 commit intoHarbourMasters:developfrom
Malkierian:fix-plando-resize-crash
Dec 16, 2024
Merged

Fix Plando Resize Crash#4700
Malkierian merged 1 commit intoHarbourMasters:developfrom
Malkierian:fix-plando-resize-crash

Conversation

@Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Dec 16, 2024

The issue happened because the tables weren't setup properly. If they're not visible, they're not drawn, but the code after the BeginTable calls was still trying to reference those nonexistent tables when not drawn, and that's what was causing the crash: the transition between visible and not visible and/or vice versa. Just needs if(ImGui::BeginTable()){} blocks around them.
Fixes #4699

Build Artifacts

@Malkierian Malkierian merged commit e1a53a7 into HarbourMasters:develop Dec 16, 2024
@Malkierian Malkierian deleted the fix-plando-resize-crash branch December 16, 2024 19:09
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.

Plandomizer Editor causing crashes during certain interactions

1 participant