NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #109 (closed defect: fixed)

Opened 2007-04-12T13:36:12-05:00

Last modified 2007-04-12T14:39:53-05:00

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 2007-04-12T14:39:53-05:00 by sorber

  • Status changed from new to closed
  • Resolution set to fixed