diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-10-10 16:58:33 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-10-10 16:58:33 +0400 |
commit | 2a549285633f390da44051bbee2f8d5abf693396 (patch) | |
tree | df1a677fb21a53c9c00a382ca57f16bcacf5b4e0 /release | |
parent | 33894a4cd528f8fed74f81ed4e5f5a33435130e9 (diff) |
NodeSocket RNA property 'in_out' renamed as boolean 'is_output'. This is a more useful name and follows the API naming conventions better.
http://wiki.blender.org/index.php/Extensions:2.6/Py/API_Changes#Node_Socket_in_out
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_node.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index 843bafabdec..1721eacd8ac 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -407,13 +407,13 @@ class NODE_UL_interface_sockets(bpy.types.UIList): row = layout.row(align=True) # inputs get icon on the left - if socket.in_out == 'IN': + if not socket.is_output: row.template_node_socket(color) row.label(text=socket.name, icon_value=icon) # outputs get icon on the right - if socket.in_out == 'OUT': + if socket.is_output: row.template_node_socket(color) elif self.layout_type in {'GRID'}: |