Blender Git Commit Log
Git Commits -> Revision 672d393
Revision 672d393 by Lukas Toenne (master) May 8, 2013, 14:58 (GMT) |
Change to socket draw functions: instead of always only drawing the socket label for connected sockets, leave this check up to the socket draw function itself. This allows future socket types to draw buttons or other info in all cases and handle connected/unconnected state more flexibly. The drawinputfunc/drawoutputfunc callbacks in bNodeType are pretty much empty wrappers now and should be removed at some point. This per-node differentiation should rather be implemented as a specialized socket type if necessary. The only use case for this feature that remains is the file output node in compositor, which displays shortened file format info for each socket. |
Commit Details:
Full Hash: 672d393517253707746d57a65ac9fa9734771be6
SVN Revision: 56584
Parent Commit: 0ee45c9
Lines Changed: +12, -10