Coordinates must work with unitless lenghts
Bug #1037535 reported by
Johannes T
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyttt |
Fix Committed
|
Undecided
|
Johannes T |
Bug Description
Coordinates now only work with lenght objects that must have a unit. However, paths work with unitless coordinates. Therefore, it should be possible to initialize a coordinate from two floating point number. In this case, initializing a (or two) coord.Len objects can be completely avoided.
However, care must be taken not to mix unitless lengths and coord.Len objects.
Related branches
To post a comment you must log in.
coord.Len objects must be initialized with a unit now. coord.Point objects can now be initialized either from coord.Len objects (with unit) or from unitless numbers (floats). Care is taken not to mix lenghts with and without units in single object specifications.