baldingwizard / Blender-Addons

119 stars 21 forks source link

Compatibility with Blender 2.82 #11

Closed baldingwizard closed 4 years ago

baldingwizard commented 4 years ago

Problems with compatibility with Blender 2.82 (appears to work fine with 2.81)

1) Hexagon preset fails due to IndexError: bpy_prop_collection[index]: index 3 out of range, size 3 2) 'min(x,y,z)' failing to link the 'z' input to the internal nodes

I suspect this could be related to the enhanced Maths node with additional features and auto-show/hide of input nodes based on expression.

baldingwizard commented 4 years ago

Problem was due to the enhanced Maths node which was confusing the build of the tree (it was previously using the number of input nodes to determine the node type - with 2 inputs used to assume it was a maths node rather than a 'texture' or other node).