mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +01:00
Fixed loading flex pieces without control points.
This commit is contained in:
parent
8434c26087
commit
fd225d33d6
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ public:
|
|||
|
||||
void SetControlPoints(const lcArray<lcPieceControlPoint>& ControlPoints)
|
||||
{
|
||||
if (ControlPoints.GetSize() != 1)
|
||||
if (ControlPoints.GetSize() > 1)
|
||||
{
|
||||
mControlPoints = ControlPoints;
|
||||
UpdateMesh();
|
||||
|
|
Loading…
Add table
Reference in a new issue