Measuring: Added Measure gizmo imgui dialog + removed tech ENABLE_MEASURE_GIZMO_DEBUG + locking of features by pressing CTRL key

This commit is contained in:
enricoturri1966 2022-08-30 14:30:38 +02:00
parent 6c0aff0d23
commit ed287215db
9 changed files with 311 additions and 162 deletions

View file

@ -408,12 +408,10 @@ Measuring::Measuring(const indexed_triangle_set& its)
Measuring::~Measuring() {}
#if ENABLE_MEASURE_GIZMO_DEBUG
std::vector<SurfaceFeature> Measuring::get_all_features() const
{
return priv->get_all_features();
}
#endif // ENABLE_MEASURE_GIZMO_DEBUG
std::optional<SurfaceFeature> Measuring::get_feature(size_t face_idx, const Vec3d& point) const