Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
Signed-off-by: Morgan Quigley <[email protected]>
  • Loading branch information
codebot committed Feb 8, 2022
1 parent db06f26 commit 2ca47a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rmf_traffic_editor/gui/editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,8 @@ void Editor::populate_property_editor(const Vertex& vertex, const int index)
p_ref_level);

const double y_flip = building.coordinate_system.is_y_flipped() ? -1 : 1;
const Level& ref_level = building.levels[building.get_reference_level_idx()];
const Level& ref_level =
building.levels[building.get_reference_level_idx()];
const QPointF p_meters(
p_ref_level.x() * ref_level.drawing_meters_per_pixel,
p_ref_level.y() * ref_level.drawing_meters_per_pixel * y_flip);
Expand Down

0 comments on commit 2ca47a4

Please sign in to comment.