Browse Source

Merge pull request #10591 from gelibolue/dev

Blender JSON exporter texture wrapping
Mr.doob 8 năm trước cách đây
mục cha
commit
3b420bc4c3
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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'
 REPEAT = 'repeat'
 WRAPPING = type('Wrapping', (), {
-    'REPEAT': 'RepeatWrapping',
-    'CLAMP': 'ClampToEdgeWrapping',
-    'MIRROR': 'MirroredRepeatWrapping'
+    'REPEAT': 'repeat',
+    'CLAMP': 'clamp',
+    'MIRROR': 'mirror'
 })
 ANISOTROPY = 'anisotropy'
 MAG_FILTER = 'magFilter'