Skip to content

Commit 4211b9e

Browse files
committed
fix: inactive faults no longer get cropped by unconformities
1 parent d1fdbc6 commit 4211b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LoopStructural/modelling/core/geological_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ def add_unconformity(self, feature: GeologicalFeature, value: float) -> Unconfor
11821182
logger.debug(f"Reached unconformity {f.name}")
11831183
break
11841184
logger.debug(f"Adding {uc_feature.name} as unconformity to {f.name}")
1185-
if f.type == FeatureType.FAULT:
1185+
if f.type == FeatureType.FAULT or f.type == FeatureType.INACTIVEFAULT:
11861186
continue
11871187
if f == feature:
11881188
continue

0 commit comments

Comments
 (0)