lunadigital / btoa

A community-developed Blender add-on for the Arnold renderer.
GNU General Public License v3.0
134 stars 9 forks source link

Nodes should use `hide_value` boolean when hiding value in UI #211

Closed osiriswrecks closed 2 years ago

osiriswrecks commented 2 years ago

We only do this a handful of times but I didn't realize there was a boolean already in the NodeSocket class: https://docs.blender.org/api/current/bpy.types.NodeSocket.html?highlight=nodesocket#bpy.types.NodeSocket.hide_value. Let's use this instead to clean up code.