You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImGui crashes when I click on the + or - button of a InputScalar:
I want to be able to change some value of an object.
When I tested the + and/or - (on various datatypes), it crashes.
The gif shows the implementation for my project, but I tested with a minimal code as well and the result is the same.
If you look at the crash you'll notice it is trying to dereference the stepstep_fast pointers to get the value. You are giving it 1 and 64 as pointers so dereferencing that would crash. You should pass pointer to an address hold the values.
Look at imgui_demo.cpp for how to use InputScalar, under Widgets->Data Types the coments are explaning how it works and why it works this way.
ImGui crashes when I click on the + or - button of a InputScalar:
I want to be able to change some value of an object.
When I tested the + and/or - (on various datatypes), it crashes.
The gif shows the implementation for my project, but I tested with a minimal code as well and the result is the same.
Screenshots/Video
Code used (minimized):
The text was updated successfully, but these errors were encountered: