Skip to content

Commit

Permalink
Restore previous color of visible points when image selected
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojnnes committed Oct 16, 2018
1 parent 155de8f commit 268cff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/model_viewer_widget.cc
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ void ModelViewerWidget::UploadPointData(const bool selection_mode) {
std::make_pair(point3D.first, SELECTION_BUFFER_POINT_IDX));
color = IndexToRGB(index);
} else if (selected_image.HasPoint3D(point3D.first)) {
color = kSelectedImageFrameColor;
color = kSelectedImagePlaneColor;
} else if (point3D.first == selected_point3D_id_) {
color = kSelectedPointColor;
} else {
Expand Down

0 comments on commit 268cff2

Please sign in to comment.