Ticket #109 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

OverlayArrow getData breaks for zero-length arrows

Reported by: sorber Owned by: sorber
Priority: trivial Milestone:
Component: visbio Severity:
Keywords: overlays Cc:
Blocked By: Blocking:

Description

When the tip and tail coordinates of an arrow are identical, a divide by zero occurs in OverlayArrow getData(). This can occur in both filled and unfilled cases. Provide a check against this error in getData() and getSelectionGrid(), maybe just padding the arrow length a small amount.

Change History

comment:1 Changed 13 years ago by sorber

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.