maps4fs 1.1.0__tar.gz → 1.1.2__tar.gz

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.
Files changed (27) hide show
  1. {maps4fs-1.1.0 → maps4fs-1.1.2}/PKG-INFO +1 -1
  2. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/background.py +3 -1
  3. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/game.py +1 -1
  4. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs.egg-info/PKG-INFO +1 -1
  5. {maps4fs-1.1.0 → maps4fs-1.1.2}/pyproject.toml +1 -1
  6. {maps4fs-1.1.0 → maps4fs-1.1.2}/LICENSE.md +0 -0
  7. {maps4fs-1.1.0 → maps4fs-1.1.2}/README.md +0 -0
  8. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/__init__.py +0 -0
  9. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/__init__.py +0 -0
  10. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/component.py +0 -0
  11. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/config.py +0 -0
  12. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/dem.py +0 -0
  13. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/grle.py +0 -0
  14. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/i3d.py +0 -0
  15. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/map.py +0 -0
  16. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/qgis.py +0 -0
  17. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/generator/texture.py +0 -0
  18. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/logger.py +0 -0
  19. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/toolbox/__init__.py +0 -0
  20. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/toolbox/background.py +0 -0
  21. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs/toolbox/dem.py +0 -0
  22. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs.egg-info/SOURCES.txt +0 -0
  23. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs.egg-info/dependency_links.txt +0 -0
  24. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs.egg-info/requires.txt +0 -0
  25. {maps4fs-1.1.0 → maps4fs-1.1.2}/maps4fs.egg-info/top_level.txt +0 -0
  26. {maps4fs-1.1.0 → maps4fs-1.1.2}/setup.cfg +0 -0
  27. {maps4fs-1.1.0 → maps4fs-1.1.2}/tests/test_generator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maps4fs
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: MIT License
@@ -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
- preview_paths.append(self.stl_preview_path)
339
+ if self.stl_preview_path:
340
+ preview_paths.append(self.stl_preview_path)
339
341
 
340
342
  return preview_paths
341
343
 
@@ -31,7 +31,7 @@ class Game:
31
31
  """
32
32
 
33
33
  code: str | None = None
34
- dem_multipliyer: int = 1
34
+ dem_multipliyer: int = 2
35
35
  _additional_dem_name: str | None = None
36
36
  _map_template_path: str | None = None
37
37
  _texture_schema: str | None = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maps4fs
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "maps4fs"
7
- version = "1.1.0"
7
+ version = "1.1.2"
8
8
  description = "Generate map templates for Farming Simulator from real places."
9
9
  authors = [{name = "iwatkot", email = "iwatkot@gmail.com"}]
10
10
  license = {text = "MIT License"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes