提交 20682d1b 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #10530 from Sebasdc/dev

bump_scale should return a float
......@@ -70,7 +70,10 @@ def bump_scale(material):
:rtype: float
"""
return normal_scale(material)
logger.debug("material.bump_scale(%s)", material)
for texture in _valid_textures(material):
if texture.use_map_normal:
return texture.normal_factor
@_material
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册