Skip to content

Commit de3d1ff

Browse files
remove TextureSettings code
1 parent fb6f03e commit de3d1ff

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/wmwpy/classes/texture.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ def __init__(
7676
else:
7777
raise TypeError('image must be PIL.Image.Image, Waltex, or filesystem.File.')
7878

79-
this._textureSettings = TextureSettings(
80-
filesystem = this.filesystem,
81-
gamepath = this.gamepath,
82-
assets = this.assets,
83-
baseassets = this.baseassets,
84-
)
85-
86-
this.textureSettings = this._textureSettings.get(this.filename)
79+
# this._textureSettings = TextureSettings(
80+
# filesystem = this.filesystem,
81+
# gamepath = this.gamepath,
82+
# assets = this.assets,
83+
# baseassets = this.baseassets,
84+
# )
85+
86+
# this.textureSettings = this._textureSettings.get(this.filename)
8787

8888
# if not this.textureSettings.premultiplyAlpha:
8989
# this.image = this.image.convert('RGBa')

0 commit comments

Comments
 (0)