summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index f2897b02d..c5a3aa914 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -357,6 +357,12 @@ class BaseFind(BulkUpdatedItem, BaseHistorizedItem, GeoItem, OwnPerms):
return precise_points
return self.context_record.get_precise_points()
+ def get_precise_polygons(self):
+ precise_poly = super(BaseFind, self).get_precise_polygons()
+ if precise_poly:
+ return precise_poly
+ return self.context_record.get_precise_polygons()
+
def generate_index(self):
"""
Generate index based on operation or context record (based on