mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 06:26:06 +08:00
Fixed warnings
This commit is contained in:
parent
6dd8199edf
commit
e6b2467f44
@ -1118,7 +1118,7 @@ void GLGizmoMeasure::render_dimensioning()
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
auto scale_feature = [this](Measure::SurfaceFeature& feature, const TrafoData& trafo_data) {
|
auto scale_feature = [](Measure::SurfaceFeature& feature, const TrafoData& trafo_data) {
|
||||||
switch (feature.get_type())
|
switch (feature.get_type())
|
||||||
{
|
{
|
||||||
case Measure::SurfaceFeatureType::Point:
|
case Measure::SurfaceFeatureType::Point:
|
||||||
@ -1146,6 +1146,7 @@ void GLGizmoMeasure::render_dimensioning()
|
|||||||
feature = Measure::SurfaceFeature(Measure::SurfaceFeatureType::Plane, normal, trafo_data.transform(origin), std::nullopt, idx);
|
feature = Measure::SurfaceFeature(Measure::SurfaceFeatureType::Plane, normal, trafo_data.transform(origin), std::nullopt, idx);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
default: { break; }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user