Skip to content

[C++] Including imgui-godot.h seems to break SubViewport inheriting classes #108

Open
@ashifolfi

Description

@ashifolfi

While setting up the C++ API to be used in our game's GDExtension I found a very very big flaw in the C++ API for this plugin. Including imgui-godot.h in a file that pulls in SubViewport inheriting classes will break any classes that inherit from SubViewport in C++ code, throwing errors within the GDCLASS macro.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions