mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 07:29:04 +08:00
Silence the warning about the unused function get_deviation_sum_squared() in Arc Welder.
This commit is contained in:
parent
da88c2affc
commit
124ce1c31f
@ -120,6 +120,7 @@ static inline bool circle_approximation_sufficient(const Circle &circle, const P
|
||||
return true;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static inline bool get_deviation_sum_squared(const Circle &circle, const Points::const_iterator begin, const Points::const_iterator end, const double tolerance, double &total_deviation)
|
||||
{
|
||||
// The circle was calculated from the 1st and last point of the point sequence, thus the fitting of those points does not need to be evaluated.
|
||||
@ -148,6 +149,7 @@ static inline bool get_deviation_sum_squared(const Circle &circle, const Points:
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
double arc_fit_variance(const Point &start_pos, const Point &end_pos, const float radius, bool is_ccw,
|
||||
const Points::const_iterator begin, const Points::const_iterator end)
|
||||
|
Loading…
x
Reference in New Issue
Block a user