Skip to content

message box apocalypse on split lines when endpoint is on line #1320

@Dromantor

Description

@Dromantor

Preamble

Yes, I know, I'm using the "Split lines / ..." function not in the correct way; I'm really missing the trim-line-to-next-point function most CAD programs have *; but this is far from the failure mode I expected .... it didn't do that previously and just created a zero-length edge instead of crashing after a message box invasion.

* some things are much easier and faster to draw that way

System information

  • SolveSpace version: 3.1~3833dd02 (built a few minutes ago)
  • Operating system: W10 22H2

Expected behavior

From optimal to worst:

  1. just split the one line at the endpoint of the second line
  2. create zero-length line segment like previous versions
  3. error out ("can't do that")

Actual behavior

linecrash

Additional information

🙏〰✂

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions