Skip to content

peculiarity with FLine().append() #39

Description

@highfellow

I'm not sure if this is intended, but the way it stands the only way I've found to add the contents of one FLine to another is by using:

line1.append(line2.__dict__['line'])

not

line.append(line2)

I guess this is another bug from moving PLines over to FLines?

This is the test code I'm using:

line = FLine().moveTo(0,300).lineTo(0,400).lineTo(100,300).lineTo(100,400)

line3 = line.copy().cursor(2).split()[1]
line = line.cursor(1).splitLeft()
line.append(line3.__dict__['line'])

_self.lines.clear()
_self.lines.add(line)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions