Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#757 Rectangles which cover no area are culled.

closed-fixed
nobody
Bug (275)
5
2010-09-12
2010-04-24
Matthew E. Boyce
No

If you create a rectangle which only has a single dimension (in essence, a line) It appears properly and is saved out with the campaign. When the campaign is reloaded it appears to be getting culled during the Zone.optimize operation (looks to me like the drawnArea.isEmpty() test). It seems like if the drawing tool allows shapes of this sort to be drawn (and viewed/manipulated prior to saving) then saving should persist them.

Discussion

  • Frank Edwards
    Frank Edwards
    2010-09-12

    • status: open --> closed-fixed
     
  • Frank Edwards
    Frank Edwards
    2010-09-12

    Fixed. Rectangles which degenerate into Lines are culled entirely, i.e. the Rectangle tool cannot draw Lines -- use the Line tool for that. :)