Skip to content

Commit a2e027e

Browse files
IsakNaslundBhFraser Greenroyd
andcommitted
Update Rhinoceros_Engine/Convert/ToRhino.cs
Co-authored-by: Fraser Greenroyd <[email protected]>
1 parent bb78bee commit a2e027e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rhinoceros_Engine/Convert/ToRhino.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public static RHG.PolyCurve ToRhino(this BHG.PolyCurve bPolyCurve)
274274

275275
//Curve is checked that it is a joined curve and only converted if that is the case.
276276
//Appending disjoined curves to a single Rhino polycurves ensures it is joined and by doing so changes the geometry.
277-
//Rhino Join is throwing access violation exceptions in some cases, leading to a full rhino crash, that can not be caught by a try-catch.
277+
//Rhino Join is throwing access violation exceptions in some cases, leading to a full Rhino crash, that cannot be caught by a try-catch.
278278
//For this reason, the BHoM Join is used instead.
279279
if (BH.Engine.Geometry.Compute.IJoin(bPolyCurve.Curves).Count > 1)
280280
return null; //Not returning error message here as that will lead to confusing messages on any method returning a disjointed Polycurve deemed valid in BHoM.

0 commit comments

Comments
 (0)