Skip to content

Commit

Permalink
(FIX) weldType2 instead of weldType (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
emagdalenaC2i committed Dec 9, 2018
1 parent 055db52 commit 69023ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weld.fs.js
Expand Up @@ -254,13 +254,13 @@ export const weld = defineFeature(function(context is Context, id is Id, definit
annotation { "Name" : "Bevel angle", "UIHint" : "REMEMBER_PREVIOUS_VALUE" }
isAngle(definition.buttAngle2, ANGLE_STRICT_90_BOUNDS);

if (definition.weldType2 == WeldType.SQUARE_BUTT_WELD || definition.weldType == WeldType.J_BUTT_WELD || definition.weldType == WeldType.BEVEL_BUTT_WELD)
if (definition.weldType2 == WeldType2.SQUARE_BUTT_WELD || definition.weldType2 == WeldType2.J_BUTT_WELD || definition.weldType2 == WeldType2.BEVEL_BUTT_WELD)
{
annotation { "Name" : "Opposite direction", "UIHint" : "OPPOSITE_DIRECTION" }
definition.oppositeDirection2 is boolean;
}

if (definition.weldType2 == WeldType2.U_BUTT_WELD || definition.weldType == WeldType.J_BUTT_WELD)
if (definition.weldType2 == WeldType2.U_BUTT_WELD || definition.weldType2 == WeldType2.J_BUTT_WELD)
{
annotation { "Name" : "Radius", "UIHint" : "REMEMBER_PREVIOUS_VALUE" }
isLength(definition.buttRadius2, BLEND_BOUNDS);
Expand Down

0 comments on commit 69023ed

Please sign in to comment.