diff --git a/src/wing/CCPACSWingSegment.cpp b/src/wing/CCPACSWingSegment.cpp index 20737cba2..fcbea9699 100644 --- a/src/wing/CCPACSWingSegment.cpp +++ b/src/wing/CCPACSWingSegment.cpp @@ -453,11 +453,7 @@ PNamedShape CCPACSWingSegment::BuildLoft() const std::string loftName = GetUID(); std::string loftShortName = GetShortShapeName(); PNamedShape loft (new CNamedShape(loftShape, loftName.c_str(), loftShortName.c_str())); - std::vector guideCurveParams = {}; - if (GetGuideCurves()) { - guideCurveParams = GetGuideCurves()->GetRelativeCircumferenceParameters(); - } - CTiglWingBuilder::SetFaceTraits(guideCurveParams, GetUID(), loft, innerConnection.GetProfile().HasBluntTE()); + CTiglWingBuilder::SetFaceTraits(GetGuideCurves()->GetRelativeCircumferenceParameters(), GetUID(), loft, innerConnection.GetProfile().HasBluntTE()); return loft; }