[Bf-extensions-cvs] [a85e4c87] master: NW: include "height" and "metallic" file name checks

Greg noreply at git.blender.org
Tue Jul 11 14:31:22 CEST 2017


Commit: a85e4c87bac01642c8d64d7196c966445d13c623
Author: Greg
Date:   Tue Jul 11 14:30:32 2017 +0200
Branches: master
https://developer.blender.org/rBAa85e4c87bac01642c8d64d7196c966445d13c623

NW: include "height" and "metallic" file name checks

===================================================================

M	node_wrangler.py

===================================================================

diff --git a/node_wrangler.py b/node_wrangler.py
index ac30af1c..5df13dbc 100644
--- a/node_wrangler.py
+++ b/node_wrangler.py
@@ -18,7 +18,7 @@
 
 bl_info = {
     "name": "Node Wrangler",
-    "author": "Bartek Skorupa, Greg Zaal, Sebastian Koenig, Christian Brinkmann",
+    "author": "Bartek Skorupa, Greg Zaal, Sebastian Koenig, Christian Brinkmann, Florian Meyer",
     "version": (3, 35),
     "blender": (2, 79, 0),
     "location": "Node Editor Toolbar or Ctrl-Space",
@@ -2631,10 +2631,10 @@ class NWAddPrincipledSetup(Operator, NWBase, ImportHelper):
         gloss_abbr = ['gloss', 'glossy', 'glossyness']
         rough_abbr = ['roughness', 'rough', 'rgh']
         socketnames = [
-        ['Displacement', ['displacement', 'disp', 'dsp'], None],
+        ['Displacement', ['displacement', 'disp', 'dsp', 'height'], None],
         ['Base Color', ['diffuse', 'diff', 'albedo', 'base', 'col', 'color'], None],
         ['Subsurface Color', ['sss', 'subsurface'], None],
-        ['Metallic', ['metalness', 'metal', 'mtl'], None],
+        ['Metallic', ['metallic', 'metalness', 'metal', 'mtl'], None],
         ['Specular', ['specularity', 'specular', 'spec', 'spc'], None],
         ['Roughness', rough_abbr + gloss_abbr, None],
         ['Normal', normal_abbr + bump_abbr, None],



More information about the Bf-extensions-cvs mailing list