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

ImGuiCond enum is nil #1212

Open
LuckyRabbitFeet opened this issue Mar 5, 2025 · 0 comments
Open

ImGuiCond enum is nil #1212

LuckyRabbitFeet opened this issue Mar 5, 2025 · 0 comments

Comments

@LuckyRabbitFeet
Copy link

LuckyRabbitFeet commented Mar 5, 2025

Describe the bug
ImGuiCond enum is nil.

I am trying to use imgui.set_next_window_size to specify the window size. When I set condition, I found that ImGuiCond_FirstUseEver outputted nil. Then I tried ImGuiCond_None, ImGuiCond_Always, ImGuiCond_Once, ImGuiCond_Appearing, and found that the results were the same.

Identify the REFramework version
REFramework-93-Nightly01081-1741091564

To Reproduce
here is my code:

re.on_frame(function()
    print("ImGuiCond_:")
    print(ImGuiCond_None)
    print(ImGuiCond_Always)
    print(ImGuiCond_Once)
    print(ImGuiCond_FirstUseEver)
    print(ImGuiCond_Appearing)
    print("--------------------------------------------End: ")
end)

result:

Image

Expected behavior
Correctly output enum values

Desktop and VR (please complete the following information):

  • OS: Windows 11 24H2
  • Graphics card: NVIDIA GeForce RTX 4090
  • CPU: Intel(R) Core(TM) i9-14900KF
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

No branches or pull requests

1 participant