drwhut/decision

Do sockets need default values?

Closed this issue · 1 comments

We will always need to put down a value in Decision code anyway...

The entire reason I was questioning this is because for GUI editors if a socket has a vague type, what type does the default value have?

Of course, if the socket type is not vague, it can just show the default value. But if it is vague, it shouldn't show a default value, so the user can choose what type goes in, e.g. if it is a number socket, it should display the socket as both an integer and float socket. Maybe there can be hint text by the socket to say what can go in, e.g. "1, 1.0"?

In any case, I won't remove the default values from sockets. They're already in. It will be up to GUI editors to decide how to handle them.