Skip to content

Commit

Permalink
Fix texture type bug: the texture/type attribute expects a string, no…
Browse files Browse the repository at this point in the history
…t an integer
  • Loading branch information
tckarenchiang committed Sep 11, 2024
1 parent 645d333 commit e219245
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class MapType(Enum):
- "CUBE": Wraps the texture around a cube object.
- "SKYBOX": Like "cube" but maps onto the inside of an object.
"""

MAP2D = auto()
CUBE = auto()
SKYBOX = auto()
MAP2D = '2d'
CUBE = 'cube'
SKYBOX = 'skybox'

0 comments on commit e219245

Please sign in to comment.