DigiKrafting / blender_addon_pbr

Provides a material panel that creates Metallic/Roughness or Specular/Gloss Nodes using the Principled BSDF shader.
GNU General Public License v3.0
35 stars 5 forks source link

Misspelled layout property for specular node #5

Closed Harvester62 closed 6 years ago

Harvester62 commented 6 years ago

Hello,

I've found a mistake in the code at line 505 which generates this error message in the Blender console:

D:\Blender_2.79b_stable\2.79\scripts\addons_extern\blender_addon_pbr__init__.py:505 rna_uiItemR: property not found: ds_pbr_addon_prefs.option_Specular_node

Reason is that the value 'option_Specular_node' should be all lowercase and read as follows:

    layout.prop(self, 'option_specular_node')

Regards.

DigiKrafting commented 6 years ago

Hi Harvester62,

Thanks for reporting the bug, I use the metallic workflow so I didn't come across this. The fix has been uploaded.