浏览代码

Merge pull request #10591 from gelibolue/dev

Blender JSON exporter texture wrapping
Mr.doob 8 年之前
父节点
当前提交
3b420bc4c3
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      utils/exporters/blender/addons/io_three/constants.py

+ 3 - 3
utils/exporters/blender/addons/io_three/constants.py

@@ -257,9 +257,9 @@ URL = 'url'
 WRAP = 'wrap'
 WRAP = 'wrap'
 REPEAT = 'repeat'
 REPEAT = 'repeat'
 WRAPPING = type('Wrapping', (), {
 WRAPPING = type('Wrapping', (), {
-    'REPEAT': 'RepeatWrapping',
-    'CLAMP': 'ClampToEdgeWrapping',
-    'MIRROR': 'MirroredRepeatWrapping'
+    'REPEAT': 'repeat',
+    'CLAMP': 'clamp',
+    'MIRROR': 'mirror'
 })
 })
 ANISOTROPY = 'anisotropy'
 ANISOTROPY = 'anisotropy'
 MAG_FILTER = 'magFilter'
 MAG_FILTER = 'magFilter'