Skip to content

Commit

Permalink
Fix reference file name being kept when loading new building (#501) (#…
Browse files Browse the repository at this point in the history
…503)

Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova authored Aug 13, 2024
1 parent 35c45c4 commit 93d3b02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rmf_traffic_editor/gui/building.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ bool Building::load(const string& _filename)

if (y["reference_level_name"])
reference_level_name = y["reference_level_name"].as<string>();
else
reference_level_name = "";

// crowd_sim_impl is initialized when creating crowd_sim_table in editor.cpp
// just in case the pointer is not initialized
Expand Down

0 comments on commit 93d3b02

Please sign in to comment.