fix revolving for negative angle

This commit is contained in:
Val Erastov 2016-12-17 02:32:37 -08:00
parent e07798791b
commit c4117dde43

View file

@ -49,7 +49,7 @@ function findDefaultAxis(app, face) {
}
function defaultResolution(angle) {
return Math.max(2, Math.round(angle / 4.0 ));
return Math.max(2, Math.round(Math.abs(angle) / 4.0 ));
}
RevolveWizard.prototype = Object.create( OpWizard.prototype );