maps4fs 2.3.7__py3-none-any.whl → 2.5.0__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/map.py CHANGED
@@ -92,6 +92,7 @@ class Map:
92
92
  generation_settings_json = generation_settings.to_json()
93
93
 
94
94
  try:
95
+ main_settings_json["is_public"] = self.kwargs.get("is_public", False)
95
96
  send_main_settings(main_settings_json)
96
97
  send_advanced_settings(generation_settings_json)
97
98
  self.logger.info("Settings sent successfully.")
@@ -324,7 +324,6 @@ class MainSettings(NamedTuple):
324
324
  dtm_provider: str
325
325
  custom_osm: bool
326
326
  is_public: bool
327
- api_request: bool
328
327
  date: str
329
328
  time: str
330
329
  version: str
@@ -360,7 +359,6 @@ class MainSettings(NamedTuple):
360
359
  "dtm_provider": self.dtm_provider,
361
360
  "custom_osm": self.custom_osm,
362
361
  "is_public": self.is_public,
363
- "api_request": self.api_request,
364
362
  "date": self.date,
365
363
  "time": self.time,
366
364
  "version": self.version,
@@ -391,7 +389,6 @@ class MainSettings(NamedTuple):
391
389
  dtm_provider=map.dtm_provider.name(),
392
390
  custom_osm=bool(map.custom_osm),
393
391
  is_public=map.kwargs.get("is_public", False),
394
- api_request=map.kwargs.get("api_request", False),
395
392
  date=datetime.now().strftime("%Y-%m-%d"),
396
393
  time=datetime.now().strftime("%H:%M:%S"),
397
394
  version=mfscfg.PACKAGE_VERSION,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maps4fs
3
- Version: 2.3.7
3
+ Version: 2.5.0
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: GNU Affero General Public License v3.0
@@ -25,6 +25,7 @@ Requires-Dist: tqdm
25
25
  Requires-Dist: scipy
26
26
  Requires-Dist: pydtmdl
27
27
  Requires-Dist: manifold3d
28
+ Requires-Dist: fast-simplification
28
29
  Dynamic: license-file
29
30
 
30
31
  <p align="center">
@@ -3,9 +3,9 @@ maps4fs/logger.py,sha256=6sem0aFKQqtVjQ_yNu9iGcc-hqzLQUhfxco05K6nqow,763
3
3
  maps4fs/generator/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,43
4
4
  maps4fs/generator/config.py,sha256=WcqXqjUNZ2d23cM45c-dR8omcn-HorEcDSnHyJVWMQs,5494
5
5
  maps4fs/generator/game.py,sha256=nf6iuYNA5NJc-ir_WOgkw-MdJVgetVHeEtxbWJYt3Vo,14462
6
- maps4fs/generator/map.py,sha256=5at6Dlk1nk2dGr46rjjuQvq4hUNpbvchIoc8ahrKNag,12723
6
+ maps4fs/generator/map.py,sha256=w29bxIs3RUGAcRYZuhY2NdaRfbgDBHdCyU5Ldu8VLz4,12805
7
7
  maps4fs/generator/qgis.py,sha256=Es8hLuqN_KH8lDfnJE6He2rWYbAKJ3RGPn-o87S6CPI,6116
8
- maps4fs/generator/settings.py,sha256=LX1Y4_8cisiel2fMvoRuxMypJlmysEHenM4SZ5oqw5o,13052
8
+ maps4fs/generator/settings.py,sha256=WvuNe9-aqiEABjGP_ySsZi_HU6OnJFvBbMVhkm_cf4k,12923
9
9
  maps4fs/generator/statistics.py,sha256=Dp1-NS-DWv0l0UdmhOoXeQs_N-Hs7svYUnmziSW5Z9I,2098
10
10
  maps4fs/generator/utils.py,sha256=ugdQ8C22NeiZLIlldLoEKCc7ioOefz4W-8qF2eOy9qU,4834
11
11
  maps4fs/generator/component/__init__.py,sha256=s01yVVVi8R2xxNvflu2D6wTd9I_g73AMM2x7vAC7GX4,490
@@ -22,8 +22,8 @@ maps4fs/generator/component/base/component.py,sha256=lf0V9CLUXMg88Nm2yI3rP5taVYY
22
22
  maps4fs/generator/component/base/component_image.py,sha256=WTGC6v1KuS5sLNCC95Z48nCspvATKKNOuhTNYzTWXr4,8315
23
23
  maps4fs/generator/component/base/component_mesh.py,sha256=3hC-qDT8Vde6SmRMqs9USAkrF-gL2dDTYW71ATpxUS4,9130
24
24
  maps4fs/generator/component/base/component_xml.py,sha256=MT-VhU2dEckLFxAgmxg6V3gnv11di_94Qq6atfpOLdc,5342
25
- maps4fs-2.3.7.dist-info/licenses/LICENSE.md,sha256=Ptw8AkqJ60c4tRts6yuqGP_8B0dxwOGmJsp6YJ8dKqM,34328
26
- maps4fs-2.3.7.dist-info/METADATA,sha256=2-84TxgFjyc046CJNvK6J2iguiJIUQjKkhod_-z5T4w,42461
27
- maps4fs-2.3.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
- maps4fs-2.3.7.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
29
- maps4fs-2.3.7.dist-info/RECORD,,
25
+ maps4fs-2.5.0.dist-info/licenses/LICENSE.md,sha256=Ptw8AkqJ60c4tRts6yuqGP_8B0dxwOGmJsp6YJ8dKqM,34328
26
+ maps4fs-2.5.0.dist-info/METADATA,sha256=xJB3KR32HpBaLrdmT4WBhDVSq2SJaHkOdYq0fkY4a1c,42496
27
+ maps4fs-2.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
+ maps4fs-2.5.0.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
29
+ maps4fs-2.5.0.dist-info/RECORD,,