Revert "Bug: Fillet Button - selecting edge without tag caused an Error" (#3687)

Revert "Bug: Fillet Button - selecting edge without tag caused an Error (#3685)"

This reverts commit 5c90f72c91.
This commit is contained in:
max
2024-08-28 00:20:50 +02:00
committed by GitHub
parent 5c90f72c91
commit 5b5355376f

View File

@ -469,9 +469,6 @@ export const hasValidFilletSelection = ({
if (segmentNode.node.type === 'CallExpression') {
const segmentName = segmentNode.node.callee.name
if (segmentName in sketchLineHelperMap) {
// add check wether tag exists at all:
if (!(segmentNode.node.arguments.length === 3)) return true
// if tag exists, check if it is already filleted
const edges = isTagUsedInFillet({
ast,
callExp: segmentNode.node,