Skip to content

Conversation

@Rindbee
Copy link
Contributor

@Rindbee Rindbee commented Jun 1, 2025

Make the node path relative to the target node instead of the source node.

Currently, a proxy object is used in the connection dialog to edit bound arguments.

In this case, the EditorPropertyNodePath will get the node path relative to the source object in the connection (i.e. the object the InspectorDock is editing).

This path is not available in scripts (i.e. the target object in the connection).

Fix #106983, fix #83700.

000.mp4

@KoBeWi KoBeWi modified the milestones: 4.x, 4.6 Jun 16, 2025
@Repiteo
Copy link
Contributor

Repiteo commented Sep 20, 2025

Needs rebase

…o not work

Make the node path relative to the target node instead of the source node.

Currently, a proxy object is used in the connection dialog to edit bound arguments.

In this case, the `EditorPropertyNodePath` will get the node path relative to the
source object in the connection (i.e. the object the InspectorDock is editing).

This path is not available in scripts (i.e. the target object in the connection).
@Rindbee Rindbee force-pushed the fix-wrong-node-path-in-connection-dialog branch from fda08f1 to fc0cbb3 Compare September 20, 2025 14:15
@Rindbee
Copy link
Contributor Author

Rindbee commented Sep 20, 2025

Done.

@Repiteo Repiteo merged commit 8c956ba into godotengine:master Sep 24, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Sep 24, 2025

Thanks!

@Rindbee Rindbee deleted the fix-wrong-node-path-in-connection-dialog branch September 24, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

4 participants