This project has moved. For the latest updates, please go here.
1

Closed

ControlPoint -1 is a GluePoint and therefore must not be removed.

description

Hi,

I'm getting this error, whenever I try to add my new library, (Attached the complete project):

"ControlPoint -1 is a GluePoint and therefore must not be removed."

Note: the dll is in the release folder as well.

Regards,

file attachments

Closed Jan 12, 2015 at 6:50 AM by KurtHolzinger

comments

KurtHolzinger wrote Nov 11, 2013 at 1:20 PM

You call the constructor code twice:
Protected Friend Sub New(shapeType As ShapeType, template As Template)
        MyBase.New(shapeType, template)  ' Call constructor of base class (which calls Construct method)
        'Construct()    ' Do *not* call consruct method again!
    End Sub
This ends in an inconstistent vertex count which in turn leads to the error you ran into.

wrote Jan 12, 2015 at 6:50 AM