FreeCAD: master 53770dfa

Author Committer Branch Timestamp Parent
Simon Yorik van Havre master 2017-05-25 10:29:12 master c4b16857
Changeset Fix incomplete creation of an SVG path from edges.

* Observed bug: If an ArchWindow has two opening symbols (i.e. two sides
  that can be opened), only one was printed in SVG.
* In Draft.getSVG.getPath, some edges got lost in the call of
  Part.__sortEdges__. In contrast, Part.sortEdges does not skip edges. All
  edges are retained.
* With this fix, both opening symbols are rendered in Draft.getSVG.
* While it works for my test case, I suppose, Draft.getSVG.getPath is
  used in some other places as well. Thus, side effects must be checked
  by experienced people.
mod - src/Mod/Draft/Draft.py Diff File