Skip to content

Commit 25106b6

Browse files
committed
continue propagate with zero leftover
1 parent 1b902e8 commit 25106b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Elements.MEP/src/Fittings/StraightSegment.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,11 @@ public override bool PropagateAdditionalTransform(Transform transform, Transform
166166

167167
if (leftover.IsZero())
168168
{
169-
return false;
169+
// returning true here is a hack to let fittings with multiple
170+
// branches with different offsets continue to propogate their
171+
// transforms. If this returns false it seems that the other
172+
// branches aren't checked.
173+
return true;
170174
}
171175
else
172176
{

0 commit comments

Comments
 (0)