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.



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

rB Blender
Build Status
Buildable 809
Build 809: arc lint + arc unit