Measure gizmo - Fixed missing raycaster when promoting a point as 1st selected feature
This commit is contained in:
parent
954cd105e0
commit
2f8e2c5e80
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ bool GLGizmoMeasure::on_mouse(const wxMouseEvent &mouse_event)
|
|||
};
|
||||
|
||||
auto requires_sphere_raycaster_for_picking = [this](const SelectedFeatures::Item& item) {
|
||||
if (m_mode == EMode::PointSelection)
|
||||
if (m_mode == EMode::PointSelection || item.feature->get_type() == Measure::SurfaceFeatureType::Point)
|
||||
return true;
|
||||
else if (m_mode == EMode::FeatureSelection) {
|
||||
if (is_feature_with_center(*item.feature))
|
||||
|
|
Loading…
Reference in a new issue