Export geometry: doesnt export disabled profiles

This commit is contained in:
Dylan Jeannin committed 2026-08-31 14:21:53 +02:00
1 parent e9aa980c88
commit ef34fecc31
1 file changed
+3 -2
+3 -2
View File
@@ -888,8 +888,9 @@ class GeometryWindow(PamhyrWindow):
if is_interpolated and not export_interpolated:
continue
self._export_to_file_st_profile(wfile, profile, pid)
pid += 1
if profile.enabled:
self._export_to_file_st_profile(wfile, profile, pid)
pid += 1
def _export_to_file_st_profile(self, wfile, profile, pid):
num = f"{pid:>6}"