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
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Aug 12, 2024
1 parent 35c45c4 commit 8f8c35f
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 8f8c35f

Please sign in to comment.