Skip to content

Why CanConnect called two times inside ConnectOption () ? #22

@MrKumakun

Description

@MrKumakun

Hi,

I'm studying at STNodeEditor.
Thank you for providing a wonderful project!!

I'm not very good at English and I use online translators a lot, so I'm sorry if my sentences sound weird.

I trying to change it so that objects can be connected,If the object can be cast.
CanConnect() intend to return "ConnectionStatus.connected" if cast is possible inside functuin.

There is something I don't know, why is CanConnect called two times inside the ConnectOption () function?

For example, I can cast from int to float, but I can't cast from float to int.
There is a problem when checked in both directions.

I want to change the function call once. What do you think?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions