fixed connections from primitives to inputtype *

This commit is contained in:
Sebastian 2023-08-13 17:59:27 +02:00
parent f6e1a462b8
commit c9b11405f5

View File

@ -260,6 +260,9 @@ app.registerExtension({
onConnectOutput(slot, type, input, target_node, target_slot) {
// Fires before the link is made allowing us to reject it if it isn't valid
if (input.type == "*") {
return true;
}
// No widget, we cant connect
if (!input.widget) {