Principled shader on 2.79 Linux Mint

Hi all,

I use Linux Mint, I downloaded this version of Blender “blender-2.79-linux-glibc219-x86_64.tar.bz2” but afert istalling it, in node editor material shift+a shader I don’t find the principled shader.

Does anyone have the same problem?

Thank you

I’m running Mint and I downloaded the tarball and opened up 2.79 and the principled shader is there and works for me. Both with shift a and with the menu.

Are you maybe in compositing mode?

No no… is the shader mode, sure!


Not sure what to think, it’s there on my machine running Serena 18.1.


Seeing that your add menu is not in sorted alphabetically (blender’s default behaviour), makes me think that you or some addon have changed the NODE_##_category_SH_NEW_SHADER classes… Probably some addon that was coded for a previous Blender version where the Principled was not present.

Check the bpy.types if the ShaderNodeBsdfPrincipled class is there, or try to add it to your material through the python console with:


>>>bpy.data.materials['MaterialName'].node_tree.nodes.new('ShaderNodeBsdfPrincipled')

I type in console and:

>>> bpy.data.materials[‘MaterialName’].node_tree.nodes.new(‘ShaderNodeBsdfPrincipled’)
Traceback (most recent call last):
File “<blender_console>”, line 1, in <module>
KeyError: ‘bpy_prop_collection[key]: key “MaterialName” not found’

>>>

Very misterious … most particular add on is b4web, animation node, manuel bastioni lab, hard ops… do you thinks I have to try uninstalling them?

You must use the material’s name, not “MaterialName”… if it’s still the same from the screenshot, you need to use: …materials[‘Material’].node_tree…

About the addons… try to update them to the newer versions… or look into them to check which one is playing with the nodeitems_utils

Yessss… disabling some add on, Principled Shader exist! Thanks, thanks, thanks!!!

If you still need to use that addon, you may need to change the code accordingly to make it compatible with the new nodeitems_utils.py. Can you tell us which one was the culprit? we could patch it for 2.79+.

Culprit in my case: Blend4Web (I have v 16.12.1) on Linux Mint 18.1 Serena (64bit)

Thanks so much!

ohh yes… they use the nodeitems in a very unfriendly way…
Updating blend4web to the 17.12 will include the Principled in the add menu, but it will still block any 3rd party nodes you may have.