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

EditorContext::Begin: handle ImGuiEx::Canvas::Begin return at initial setup #186

Closed
wants to merge 1 commit into from

Conversation

pthom
Copy link

@pthom pthom commented Nov 21, 2022

if ImGuiEx::Canvas::Begin returns false (which can happen if the window is too small and the canvas is Clipped), then the subsequent call to ImGuiEx::Canvas::End() will trigger an IM_ASSERT

This is an issue I ran several times into.

imgui_node_editor.cpp Outdated Show resolved Hide resolved
… setup

if ImGuiEx::Canvas::Begin returns false (which can happen if the window is too small
and the canvas is Clipped), then the subsequent call to ImGuiEx::Canvas::End()
will trigger an IM_ASSERT
azonenberg added a commit to ngscopeclient/imgui-node-editor that referenced this pull request Jul 30, 2023
@thedmd
Copy link
Owner

thedmd commented Sep 1, 2023

Thank you! Fix is on develop.

@thedmd thedmd closed this Sep 1, 2023
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