From fd225d33d616eecfd347a5e3a553985d76f76f67 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 21 May 2016 01:21:21 +0000 Subject: [PATCH] Fixed loading flex pieces without control points. --- common/piece.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/piece.h b/common/piece.h index 46e255bc..d38856fa 100644 --- a/common/piece.h +++ b/common/piece.h @@ -370,7 +370,7 @@ public: void SetControlPoints(const lcArray& ControlPoints) { - if (ControlPoints.GetSize() != 1) + if (ControlPoints.GetSize() > 1) { mControlPoints = ControlPoints; UpdateMesh();