Compare commits
No commits in common. "f969cdba6a832aa747667f285ebe7b4c4f711b0e" and "fdbedb23a413eb41495a97b8b4cbe4afa97f2bc6" have entirely different histories.
f969cdba6a
...
fdbedb23a4
@ -995,21 +995,6 @@ export const drawRidgeRoof = (roofId, canvas, textMode) => {
|
||||
const prevLine = prevBaseLine.line
|
||||
const nextLine = nextBaseLine.line
|
||||
|
||||
if (prevBaseLine.size !== prevLine.attributes.planeSize) {
|
||||
prevLine.x1 = prevBaseLine.x1
|
||||
prevLine.y1 = prevBaseLine.y1
|
||||
prevLine.x2 = prevBaseLine.x2
|
||||
prevLine.y2 = prevBaseLine.y2
|
||||
prevLine.setCoords()
|
||||
}
|
||||
if (nextBaseLine.size !== nextLine.attributes.planeSize) {
|
||||
nextLine.x1 = nextBaseLine.x1
|
||||
nextLine.y1 = nextBaseLine.y1
|
||||
nextLine.x2 = nextBaseLine.x2
|
||||
nextLine.y2 = nextBaseLine.y2
|
||||
nextLine.setCoords()
|
||||
}
|
||||
|
||||
let { x1, x2, y1, y2, size } = currentBaseLine
|
||||
let beforePrevBaseLine, afterNextBaseLine
|
||||
|
||||
@ -1631,8 +1616,8 @@ export const drawRidgeRoof = (roofId, canvas, textMode) => {
|
||||
currentAngle === afterNextAngle
|
||||
? Big(afterNextLine.attributes.offset)
|
||||
: Big(afterNextLine.attributes.offset).plus(currentLine.attributes.offset)
|
||||
const prevSize = Big(calcLinePlaneSize(prevLine)).div(10)
|
||||
const nextSize = Big(calcLinePlaneSize(nextLine)).div(10)
|
||||
const prevSize = Big(prevLine.attributes.planeSize).div(10)
|
||||
const nextSize = Big(nextLine.attributes.planeSize).div(10)
|
||||
|
||||
let prevHipCoords, nextHipCoords
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user