Browse Source

Blender: Let .normalScale be exported as array.

tschw 9 years ago
parent
commit
c9ce1e58d5
1 changed files with 1 additions and 1 deletions
  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