Export geometry: doesnt export disabled profiles

mesh_tab
Dylan Jeannin 2026-08-31 14:21:53 +02:00
parent e9aa980c88
commit ef34fecc31
1 changed files with 3 additions and 2 deletions

View File

@ -888,8 +888,9 @@ class GeometryWindow(PamhyrWindow):
if is_interpolated and not export_interpolated: if is_interpolated and not export_interpolated:
continue continue
self._export_to_file_st_profile(wfile, profile, pid) if profile.enabled:
pid += 1 self._export_to_file_st_profile(wfile, profile, pid)
pid += 1
def _export_to_file_st_profile(self, wfile, profile, pid): def _export_to_file_st_profile(self, wfile, profile, pid):
num = f"{pid:>6}" num = f"{pid:>6}"