[Bf-blender-cvs] [5c038a69300] blender2.8: Revert "Fix error on FBX export after material changes"
Bastien Montagne
noreply at git.blender.org
Wed Oct 17 20:26:49 CEST 2018
Commit: 5c038a69300b154ef06fc8e410ecdf1b7a90f164
Author: Bastien Montagne
Date: Wed Oct 17 20:17:02 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB5c038a69300b154ef06fc8e410ecdf1b7a90f164
Revert "Fix error on FBX export after material changes"
This reverts commit ce4cfbe108d0641832d86a731ea32f596220b7c5.
Obviously wrong 'fix', please do not touch other dev’s code, especially
in active/WIP area, when you do not fully understand it.
===================================================================
M release/scripts/modules/bpy_extras/node_shader_utils.py
===================================================================
diff --git a/release/scripts/modules/bpy_extras/node_shader_utils.py b/release/scripts/modules/bpy_extras/node_shader_utils.py
index 69946d73fb1..89e3585e621 100644
--- a/release/scripts/modules/bpy_extras/node_shader_utils.py
+++ b/release/scripts/modules/bpy_extras/node_shader_utils.py
@@ -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,
More information about the Bf-blender-cvs
mailing list