mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
geometry: Profile: Fix points sorting.
This commit is contained in:
1 parent
9057860302
commit
e5d47564eb
3 files changed
+5
-5
No files matched your search
@@ -180,7 +180,7 @@ class Profile(object):
|
||||
elif column == 'z':
|
||||
predicate = lambda p: p.z
|
||||
|
||||
self._profiles = sorted(
|
||||
self._points = sorted(
|
||||
self._points,
|
||||
key=predicate,
|
||||
reverse=is_reversed
|
||||
|
||||
Reference in new issue
Block a user