Skip to content

Commit

Permalink
Add condition for SLD files
Browse files Browse the repository at this point in the history
added condition to now supported SLD files
  • Loading branch information
fabiobarkoski committed Oct 31, 2023
1 parent 821a6d1 commit 59675bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openage/convert/processor/export/media_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,10 @@ def _get_media_cache(
from ...value_object.read.media.smx import SMX
image = SMX(media_file.read())

elif source_file.suffix.lower() == ".sld":
from ...value_object.read.media.sld import SLD
image = SLD(media_file.read())

from .texture_merge import merge_frames
texture = Texture(image, palettes)
merge_frames(texture)
Expand Down

0 comments on commit 59675bc

Please sign in to comment.