[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57180] trunk/blender/release/scripts/ startup/bl_ui/space_node.py: Don' t hide sockets in the node properties panel.
Lukas Toenne
lukas.toenne at googlemail.com
Sat Jun 1 14:45:45 CEST 2013
Revision: 57180
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57180
Author: lukastoenne
Date: 2013-06-01 12:45:45 +0000 (Sat, 01 Jun 2013)
Log Message:
-----------
Don't hide sockets in the node properties panel. This feature is only useful to reduce the size and clutter of actual nodes, in the panel it's better to show all meaningful inputs.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/space_node.py
Modified: trunk/blender/release/scripts/startup/bl_ui/space_node.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_node.py 2013-06-01 12:45:42 UTC (rev 57179)
+++ trunk/blender/release/scripts/startup/bl_ui/space_node.py 2013-06-01 12:45:45 UTC (rev 57180)
@@ -320,7 +320,7 @@
node.draw_buttons(context, layout)
# XXX this could be filtered further to exclude socket types 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.hide and not socket.is_linked]
+ value_inputs = [socket for socket in node.inputs if socket.enabled and not socket.is_linked]
if value_inputs:
layout.separator()
layout.label("Inputs:")
More information about the Bf-blender-cvs
mailing list