Skip to content

Commit 6a2e5d8

Browse files
committed
Revert previous changes that broke a lot of things
1 parent a9a406a commit 6a2e5d8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

modules/AssetExporter.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -964,11 +964,7 @@ def exportMinimap(mapName: str, dir: SourceDir, game="WaW"):
964964
image: Image
965965
# csgo uses dds images for radars whereas older games use vtf images
966966
if dir.copy(f"resource/overviews/{data['material']}_radar.dds", f"{tempDir}/matTex/{mapName}_radar.dds", silent=True):
967-
<<<<<<< Updated upstream
968967
Image.open(f"{tempDir}/matTex/{mapName}_radar.dds").save(f"{tempDir}/converted/texture_assets/corvid/{mapName}/{mapName}_radar.{ext}", silent=True)
969-
=======
970-
Image.open(f"{tempDir}/matTex/{mapName}_radar.dds").save(f"{tempDir}/converted/texture_assets/corvid/{mapName}_radar.{ext}", silent=True)
971-
>>>>>>> Stashed changes
972968
elif dir.copy(f"materials/{data['material']}_radar.vmt", f"{tempDir}/mat/{mapName}_radar.vmt"):
973969
mat = parse_vdf(fixVmt(open(f"{tempDir}/mat/{mapName}_radar.vmt").read()))
974970
mat = mat[list(mat)[0]]

0 commit comments

Comments
 (0)