Fixed loading flex pieces without control points.

This commit is contained in:
leo 2016-05-21 01:21:21 +00:00
parent 8434c26087
commit fd225d33d6

View file

@ -370,7 +370,7 @@ public:
void SetControlPoints(const lcArray<lcPieceControlPoint>& ControlPoints)
{
if (ControlPoints.GetSize() != 1)
if (ControlPoints.GetSize() > 1)
{
mControlPoints = ControlPoints;
UpdateMesh();