geometry: Profile: Start to adapt profile window.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-04-21 15:09:25 +02:00
1 parent a055c80dce
commit a9c57a9512
6 files changed
+130 -225

No files matched your search

+2 -2
View File
@@ -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()