FreeCAD: master 91f8b6c1

Author Committer Branch Timestamp Parent
chennes chennes master 2021-03-01 15:19:20 master c1408f13
Changeset [Draft] Eliminate unused loop iteration variables

When creating arrays of colors, the color information is often created
to be the same length as some array of objects. In three instances this
was achieved with a loop over that list of objects, even though the
objects themselves are never used. This commit eliminates those loops
and creates the required number of color instances directly.

Identified by LGTM.
mod - src/Mod/Draft/draftviewproviders/view_array.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_clone.py Diff File