maps4fs 1.1.0__py3-none-any.whl → 1.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- maps4fs/generator/background.py +3 -1
- {maps4fs-1.1.0.dist-info → maps4fs-1.1.1.dist-info}/METADATA +1 -1
- {maps4fs-1.1.0.dist-info → maps4fs-1.1.1.dist-info}/RECORD +6 -6
- {maps4fs-1.1.0.dist-info → maps4fs-1.1.1.dist-info}/LICENSE.md +0 -0
- {maps4fs-1.1.0.dist-info → maps4fs-1.1.1.dist-info}/WHEEL +0 -0
- {maps4fs-1.1.0.dist-info → maps4fs-1.1.1.dist-info}/top_level.txt +0 -0
maps4fs/generator/background.py
CHANGED
@@ -43,6 +43,7 @@ class Background(Component):
|
|
43
43
|
def preprocess(self) -> None:
|
44
44
|
"""Registers the DEMs for the background terrain."""
|
45
45
|
self.light_version = self.kwargs.get("light_version", False)
|
46
|
+
self.stl_preview_path: str | None = None
|
46
47
|
|
47
48
|
if self.rotation:
|
48
49
|
self.logger.debug("Rotation is enabled: %s.", self.rotation)
|
@@ -335,7 +336,8 @@ class Background(Component):
|
|
335
336
|
cv2.imwrite(background_dem_preview_path, background_dem_preview_image)
|
336
337
|
preview_paths.append(background_dem_preview_path)
|
337
338
|
|
338
|
-
|
339
|
+
if self.stl_preview_path:
|
340
|
+
preview_paths.append(self.stl_preview_path)
|
339
341
|
|
340
342
|
return preview_paths
|
341
343
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
maps4fs/__init__.py,sha256=da4jmND2Ths9AffnkAKgzLHNkvKFOc_l21gJisPXqWY,155
|
2
2
|
maps4fs/logger.py,sha256=B-NEYpMjPAAqlV4VpfTi6nbBFnEABVtQOaYe6nMpidg,1489
|
3
3
|
maps4fs/generator/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,43
|
4
|
-
maps4fs/generator/background.py,sha256=
|
4
|
+
maps4fs/generator/background.py,sha256=dnUkS1atEqqz_ryKkcfP_K9ZcwMHZVs97y-twZMpD44,15881
|
5
5
|
maps4fs/generator/component.py,sha256=iYQgw2l_rvVpZ-VIhoZELdAe8rPVBwCVKwRsYejDCb0,17094
|
6
6
|
maps4fs/generator/config.py,sha256=b7qY0luC-_WM_c72Ohtlf4FrB37X5cALInbestSdUsw,4382
|
7
7
|
maps4fs/generator/dem.py,sha256=rc7ADzjvlZzStOqagsWW0Vrm9-X86aPpoR1RhBF_-OE,16025
|
@@ -14,8 +14,8 @@ maps4fs/generator/texture.py,sha256=uSt563KomSVUndl25IgEIi0YuhBQbnhPIoQKa-4A3_E,
|
|
14
14
|
maps4fs/toolbox/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,43
|
15
15
|
maps4fs/toolbox/background.py,sha256=9BXWNqs_n3HgqDiPztWylgYk_QM4YgBpe6_ZNQAWtSc,2154
|
16
16
|
maps4fs/toolbox/dem.py,sha256=z9IPFNmYbjiigb3t02ZenI3Mo8odd19c5MZbjDEovTo,3525
|
17
|
-
maps4fs-1.1.
|
18
|
-
maps4fs-1.1.
|
19
|
-
maps4fs-1.1.
|
20
|
-
maps4fs-1.1.
|
21
|
-
maps4fs-1.1.
|
17
|
+
maps4fs-1.1.1.dist-info/LICENSE.md,sha256=pTKD_oUexcn-yccFCTrMeLkZy0ifLRa-VNcDLqLZaIw,10749
|
18
|
+
maps4fs-1.1.1.dist-info/METADATA,sha256=V59zXt_h8KNG1R6KssJ8ZMDiQOt5stAwsYbjvzJaY9U,27907
|
19
|
+
maps4fs-1.1.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
20
|
+
maps4fs-1.1.1.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
|
21
|
+
maps4fs-1.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|