FreeCAD: master 752cb73d

Author Committer Branch Timestamp Parent
chennes chennes master 2021-03-01 15:28:34 master c1408f13
Changeset [Draft] Fix localize_vectors double definition

LGTM identified an instance where a function was defined twice: in this
case, one version was intended to take a list of items and the second
version just a single item. Because they share the same name and number
of arguments, the second definition overrode the first. This causes no
problems in the current code because the version that takes a list is
never used. However, for consistency with the analogous
"globalize_vectors" and "globalize_vector" functions, the "localize*"
versions are changed to match that pattern. All calls in are
converted to the singular use.
mod - src/Mod/Draft/draftguitools/gui_edit.py Diff File
mod - src/Mod/Draft/draftguitools/gui_edit_draft_objects.py Diff File