Skip to content

Customization of imgui causes build error '_FringeScale': is not a member of 'ImDrawList' #25

@CaptainCMake

Description

@CaptainCMake

I already had an official copy of the imgui library in my program and when I added imgui-node-editor, I get this build error when my codebase references the official imgui.h:

'_FringeScale': is not a member of 'ImDrawList'

The following commit added _FringeScale to ThirdParty/imgui/imgui.h:
11d2dca

However, I don't see any reference to it in the official imgui repo:
https://github.com/ocornut/imgui

This customization to imgui means I have to use your custom version of imgui throughout my codebase. Even when I built imgui-node-editor, other libraries in my codebase would reference the official imgui.h, which doesn't have _FringeScale. I suggest contributing this change and any other customizations to the imgui project and only consume them once they are merged to master.

If you really want a custom imgui, please rename the source and the public interfaces so that it can coexist with the official imgui library.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions