Skip to content

Commit

Permalink
DEM preview hotfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Nov 22, 2024
1 parent cb6af7e commit 0677b4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion maps4fs/generator/dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def colored_preview(self) -> str:

self.logger.debug("Creating colored preview of DEM data in %s.", colored_dem_path)

dem_data = cv2.imread(self._dem_path, cv2.IMREAD_UNCHANGED)
dem_data = cv2.imread(self._dem_path, cv2.IMREAD_GRAYSCALE)

self.logger.debug(
"DEM data before normalization. Shape: %s, dtype: %s. Min: %s, max: %s.",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "maps4fs"
version = "0.7.8"
version = "0.7.9"
description = "Generate map templates for Farming Simulator from real places."
authors = [{name = "iwatkot", email = "iwatkot@gmail.com"}]
license = {text = "MIT License"}
Expand Down

0 comments on commit 0677b4b

Please sign in to comment.