double aDistance = aZmax;
double aRelativeDistance = aLength > 0.01 ? aDistance / aLength : 0.0;
- aRelativeDistance = qMin( aRelativeDistance, aLength );
+ aRelativeDistance = qMin( aRelativeDistance, 1.0 );
aRelativeDistance = qMax( aRelativeDistance, 0.0 );
theDistance = aRelativeDistance;
}
}
}
myPreviewPlaneVector.clear();
+ myModel->updateTrihedron();
myModel->update();
myInteractor->setEnabled( false );
}