mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 04:45:06 +01:00
fix revolving for negative angle
This commit is contained in:
parent
e07798791b
commit
c4117dde43
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue