Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MrKumakun opened this issue Feb 9, 2024 · 1 comment
Open

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

MrKumakun opened this issue Feb 9, 2024 · 1 comment

Comments

@MrKumakun
Copy link

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,

@MrKumakun
Copy link
Author

Adjust NumberAddNode AutoSize

I don't know the optimal timing when to call SetOptionText() and BuildSize();

Adjust DateTime Cast

Must be cast on the individual receiving side.
I think we should think of a way to manage them all at once?

Clock Add

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant