Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_node.py
| Context not available. | |||||
| # XXX this could be filtered further to exclude socket types | # XXX this could be filtered further to exclude socket types | ||||
| # which don't have meaningful input values (e.g. cycles shader) | # which don't have meaningful input values (e.g. cycles shader) | ||||
| value_inputs = [socket for socket in node.inputs if socket.enabled and not socket.is_linked] | value_inputs = [socket for socket in node.inputs if hasattr(socket, 'draw') and socket.enabled and not socket.is_linked] | ||||
| if value_inputs: | if value_inputs: | ||||
| layout.separator() | layout.separator() | ||||
| layout.label(text="Inputs:") | layout.label(text="Inputs:") | ||||
| Context not available. | |||||