Skip to content

Commit

Permalink
TopMenubar UI: fixed assert() in RapidJson (not an Array)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlidalp committed Jun 17, 2024
1 parent 6b0d717 commit a77549d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/main/gui/panels/GUI_TopMenubar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ void GetJson()
TopMenubar::TopMenubar()
{
// Constructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).

ai_presets_all.SetArray();
ai_presets_bundled.SetArray();
ai_presets_extern.SetArray();
}

TopMenubar::~TopMenubar()
Expand Down

0 comments on commit a77549d

Please sign in to comment.