Files
create/src/Mod/Draft
Benjamin Nauck d32631cc54 [Draft] Add better error message in get_svg for direction
An AttributeError is raised when `direction=Vector(0,0,0)` and obj is
an Arch::Space on line: bead9bb938/src/Mod/Draft/draftfunctions/svg.py (L799)

This patch checks if early on if the direction vector and raises a
ValueError with a description of what has gone wrong.

A caveat with this solution is that this new behaviour might break old
code which depends on that invalid directions can be used.
2021-01-31 20:24:59 +01:00
..
2020-11-09 12:35:14 +01:00
2020-12-07 19:51:29 +01:00
2020-03-24 11:14:24 +01:00
2020-12-14 00:29:21 +01:00
2020-05-25 13:37:55 +02:00