Skip to content

Commit

Permalink
refactor after fix of #962
Browse files Browse the repository at this point in the history
  • Loading branch information
joergbrech committed Dec 15, 2023
1 parent 9ff831a commit 96e4816
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/wing/CCPACSWingSegment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<double> 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;
}

Expand Down

0 comments on commit 96e4816

Please sign in to comment.