Skip to content

Ids don't get reset if some control is still active and no subsequent Im3d::Gizmo call #52

@nihonium-cfx

Description

@nihonium-cfx

This results in gizmo controls become unresponsive.

Somewhat general steps to reproduce:

  1. Have gizmo drawn for some ID
  2. Select some gizmo control with mouse so it become highlighted
  3. Somehow stop drawing gizmo for this ID with control still being active
  4. Draw gizmo again (mouse state doesn't matter), probably with different ID
  5. All controls become unresponsive

Related issue in our project citizenfx/fivem#928 fixed with workaround by resetting ids manually if ID gets changed.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions