segment or line geometry cannot be rotated

Bug #1296603 reported by sander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geo2D
Fix Released
High
Unassigned

Bug Description

creating a line:
line = g.Line(g.Point(0,0),g.Vector(10,10))

rotating it
line.rotate(math.pi * 0.6)

gives an UnboundLocalError: local variable 'polygon_list' referenced before assignment

Changed in geo2d:
importance: Undecided → High
assignee: nobody → Răzvan-Cosmin Rădulescu (razvanc87-o)
Changed in geo2d:
status: New → Fix Committed
Changed in geo2d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.