Fixed typo introduced with 05e82b1fc5
This commit is contained in:
parent
a4e4a71617
commit
4f6217a54c
@ -905,7 +905,7 @@ void GLGizmoMeasure::render_dimensioning()
|
||||
return;
|
||||
|
||||
auto point_point = [this, shader](const Vec3d& v1, const Vec3d& v2, float distance) {
|
||||
if ((v2 - v2).squaredNorm() < 0.000001)
|
||||
if ((v2 - v1).squaredNorm() < 0.000001 || distance < 0.001f)
|
||||
return;
|
||||
|
||||
const Camera& camera = wxGetApp().plater()->get_camera();
|
||||
|
Loading…
Reference in New Issue
Block a user