Nodes: Add square and diamond socket shapes for pynodes (see D2814)
Needs ReviewPublic

Authored by Charlie Jolly (charlie) on Sep 7 2017, 9:36 PM.

Details

Reviewers
Campbell Barton (campbellbarton)
Group Reviewers
Nodes
Summary

Inital patch for Blender 2.8 branch. The codebase has changed a lot between the branches in the socket drawing.

The existing socket drawing code in 2.8 draws all the sockets as points which takes less calls but I had to change this to support the new shapes. I've kept the point drawing for the circle sockets as this is currently produces nicer results than a small hexadecagon!

Diff Detail

Repository
rB Blender
Branch
blender2.8
Build Status
Buildable 809
Build 809: arc lint + arc unit