소스 검색

Blender: Let .normalScale be exported as array.

tschw 10 년 전
부모
커밋
c9ce1e58d5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      utils/exporters/blender/addons/io_three/exporter/api/material.py

+ 1 - 1
utils/exporters/blender/addons/io_three/exporter/api/material.py

@@ -199,7 +199,7 @@ def normal_scale(material):
     logger.debug("material.normal_scale(%s)", material)
     for texture in _valid_textures(material):
         if texture.use_map_normal:
-            return texture.normal_factor
+            return (texture.normal_factor, texture.normal_factor)
 
 
 @_material