mirror of
https://github.com/leozide/leocad
synced 2025-02-07 08:45:49 +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)
|
void SetControlPoints(const lcArray<lcPieceControlPoint>& ControlPoints)
|
||||||
{
|
{
|
||||||
if (ControlPoints.GetSize() != 1)
|
if (ControlPoints.GetSize() > 1)
|
||||||
{
|
{
|
||||||
mControlPoints = ControlPoints;
|
mControlPoints = ControlPoints;
|
||||||
UpdateMesh();
|
UpdateMesh();
|
||||||
|
|
Loading…
Add table
Reference in a new issue