Blender Git Loki

Git Commits -> Revision 6ebce7e

Revision 6ebce7e by Mike Erwin (master)
July 21, 2016, 19:53 (GMT)
fix typo in condition

(A - A).norm() is always 0 so condition is always true.

(A - B).norm() and (B - A).norm() both compute the same distance so I
picked one to match surrounding code.

Found with PVS-Studio T48917

Commit Details:

Full Hash: 6ebce7e9480c87c5d574f1d48242c8272b873964
Parent Commit: b5ba14e
Lines Changed: +1, -1

1 Modified Path:

/source/blender/freestyle/intern/stroke/Curve.cpp (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021