Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Crash On Rendering Window Minimized or IMGUI Window Collapse #3

@jalius

Description

@jalius

Hi,

The app crashes on implot.plot_xxx if the rendering window is minimized or the imgui window is collapsed.

Exception has occurred: ImGuiError
ImGui assertion error ((gp.CurrentPlot != 0) && "PlotX() needs to be called between BeginPlot() and EndPlot()!") at implot-cpp/implot_items.cpp:165

Is there a workaround for this or am I doing something wrong?
I'm using flags = imgui.WINDOW_NO_COLLAPSE to stop it crashing on window collapse, but if I minimize the rendering window (GLFW 3, windows 11) it crashes with the same exception.

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