Revert "Fix error on FBX export after material changes"

This reverts commit ce4cfbe108.

Obviously wrong 'fix', please do not touch other dev’s code, especially
in active/WIP area, when you do not fully understand it.
This commit is contained in:
Bastien Montagne
2018-10-17 20:17:02 +02:00
parent ce4cfbe108
commit 5c038a6930

View File

@@ -466,7 +466,7 @@ class PrincipledBSDFWrapper(ShaderWrapper):
def normalmap_texture_get(self):
if not self.use_nodes or self.node_normalmap is None or self.node_normalmap == ...:
if not self.use_nodes or self.node_normalmap is None:
return None
return ShaderImageTextureWrapper(
self, self.node_normalmap,