Skip to content

Commit b3ace41

Browse files
author
Marco Stagni
committed
TASK renamed variable
1 parent 5bb1caf commit b3ace41

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/materials/helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const MATERIAL_TEXTURE_MAP = {
6262
};
6363

6464

65-
export const isTextureMapAllowedForMaterial = (materialType, textureMap) => (
65+
export const isTextureMapAllowedForMaterial = (materialType, textureType) => (
6666
MATERIAL_TEXTURE_MAP[materialType] &&
67-
MATERIAL_TEXTURE_MAP[materialType].includes(textureMap)
67+
MATERIAL_TEXTURE_MAP[materialType].includes(textureType)
6868
)

0 commit comments

Comments
 (0)