<div dir="ltr"><span style="background-color:rgb(255,255,255)"><font color="#444444"><span style="font-family:sans-serif;font-size:13px">Big picture, I'm trying to get custom nodes to work in the built in ShaderNodeTree (I know...). Partly because I want to use the grouping function. </span><br style="font-family:sans-serif;font-size:13px"><br style="font-family:sans-serif;font-size:13px"><span style="font-family:sans-serif;font-size:13px">1. I made my own custom NodeSocket type MyNodeSocket. However it seems that from the C code that the mapping from NodeSocketXXX to NodeSocketInterfaceXXX is hardcoded. Thus, when a node group is made, the NodeSocketInterface type for the corresponding socket has the generic NodeSocketInterface and I get errors about it not having a draw() method.</span><br style="font-family:sans-serif;font-size:13px"><br style="font-family:sans-serif;font-size:13px"><span style="font-family:sans-serif;font-size:13px">2. Ok why not use the built in Socket types? Those seem to work fine. However, I can't seem to replace the default_value in a socket with something to my liking. For example I want to replace the NodeSocketFloat.default_value with a different FloatProperty, one where I set the min/max/description/etc. Is there any way to do that?</span><br style="font-family:sans-serif;font-size:13px"><br style="font-family:sans-serif;font-size:13px"><span style="font-family:sans-serif;font-size:13px">Thanks.</span></font></span><br clear="all"><div><br></div>-- <br>
</div>