create sketch can rotate to match base planes

This commit is contained in:
Kurt Hutten IrevDev
2022-12-04 15:50:52 +11:00
parent 6f40d9b6b7
commit 5fa2472e0d
4 changed files with 102 additions and 79 deletions

View File

@ -56,7 +56,7 @@ export const SketchPlane = () => {
} else if (guiMode.axis === 'yz') {
addLinePoint = [point.z, point.y]
}
const { modifiedAst, id } = addLine(_ast, guiMode.id, addLinePoint)
const { modifiedAst } = addLine(_ast, guiMode.pathToNode, addLinePoint)
updateAst(modifiedAst)
}}
>