mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
geometry: Profile: Start to adapt profile window.
This commit is contained in:
1 parent
a055c80dce
commit
a9c57a9512
6 files changed
+130
-225
No files matched your search
@@ -81,7 +81,7 @@ class Reach:
|
||||
Returns:
|
||||
Nothing.
|
||||
"""
|
||||
profile = ProfileXYZ()
|
||||
profile = ProfileXYZ(reach=self)
|
||||
|
||||
self._profiles.insert(index, profile)
|
||||
self._update_profile_numbers()
|
||||
@@ -306,7 +306,7 @@ class Reach:
|
||||
|
||||
if list_profile and list_header:
|
||||
for ind, profile in enumerate(list_profile):
|
||||
prof = ProfileXYZ(*list_header[ind])
|
||||
prof = ProfileXYZ(*list_header[ind], reach=self)
|
||||
prof.import_points(profile)
|
||||
self._profiles.append(prof)
|
||||
self._update_profile_numbers()
|
||||
|
||||
Reference in new issue
Block a user