mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-08 16:49:01 +08:00
FIX: gizmo: fix missed point on plane feature
JIRA: no-jira by haidiye Change-Id: Ic287cdf77ef62dbe25e04d50280894075a45d697
This commit is contained in:
parent
4e85ba44dc
commit
6da90eedab
@ -677,7 +677,7 @@ void GLGizmoMeasure::on_render()
|
|||||||
} else if (m_assembly_mode == AssemblyMode::POINT_POINT) {
|
} else if (m_assembly_mode == AssemblyMode::POINT_POINT) {
|
||||||
if (!(curr_feature->get_type() == Measure::SurfaceFeatureType::Point ||
|
if (!(curr_feature->get_type() == Measure::SurfaceFeatureType::Point ||
|
||||||
curr_feature->get_type() == Measure::SurfaceFeatureType::Circle ||
|
curr_feature->get_type() == Measure::SurfaceFeatureType::Circle ||
|
||||||
(m_mode == EMode::PointSelection && curr_feature->get_type() == Measure::SurfaceFeatureType::Plane))) {
|
(m_mode == EMode::PointSelection && (curr_feature->get_type() == Measure::SurfaceFeatureType::Plane || curr_feature->get_type() == Measure::SurfaceFeatureType::Edge)))) {
|
||||||
curr_feature.reset();
|
curr_feature.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user