Skip to content

Instantly share code, notes, and snippets.

@brothermechanic
Created March 29, 2020 12:55
Show Gist options
  • Save brothermechanic/b3bbccececb13da25e08c5c2ecf7216b to your computer and use it in GitHub Desktop.
Save brothermechanic/b3bbccececb13da25e08c5c2ecf7216b to your computer and use it in GitHub Desktop.
node_wrangler_suf.patch
--- a/release/scripts/addons/node_wrangler.py 2020-01-21 15:05:01.804392686 +0300
+++ b/release/scripts/addons/node_wrangler.py 2020-01-21 15:30:40.741064468 +0300
@@ -995,7 +995,7 @@
class NWPrincipledPreferences(bpy.types.PropertyGroup):
base_color: StringProperty(
name='Base Color',
- default='diffuse diff albedo base col color',
+ default='d diffuse diff albedo base col color',
description='Naming Components for Base Color maps')
sss_color: StringProperty(
name='Subsurface Color',
@@ -1003,31 +1003,31 @@
description='Naming Components for Subsurface Color maps')
metallic: StringProperty(
name='Metallic',
- default='metallic metalness metal mtl',
+ default='m metallic metalness metal mtl',
description='Naming Components for metallness maps')
specular: StringProperty(
name='Specular',
- default='specularity specular spec spc',
+ default='s specularity specular spec spc',
description='Naming Components for Specular maps')
normal: StringProperty(
name='Normal',
- default='normal nor nrm nrml norm',
+ default='n normal nor nrm nrml norm',
description='Naming Components for Normal maps')
bump: StringProperty(
name='Bump',
- default='bump bmp',
+ default='b bump bmp',
description='Naming Components for bump maps')
rough: StringProperty(
name='Roughness',
- default='roughness rough rgh',
+ default='r orm roughness rough rgh',
description='Naming Components for roughness maps')
gloss: StringProperty(
name='Gloss',
- default='gloss glossy glossiness',
+ default='g gloss glossy glossiness',
description='Naming Components for glossy maps')
displacement: StringProperty(
name='Displacement',
- default='displacement displace disp dsp height heightmap',
+ default='h displacement displace disp dsp height heightmap',
description='Naming Components for displacement maps')
# Addon prefs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment