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

Generate wrong node path when dragging node from scene preview tree into gds file #640

Open
milkiq opened this issue Apr 8, 2024 · 0 comments
Labels

Comments

@milkiq
Copy link

milkiq commented Apr 8, 2024

Godot version

4.2.1

VS Code version

1.87.2

Godot Tools VS Code extension version

2.0.0

System information

Windows 11

Issue description

Such as this scene and script.

image

When I drag NavigationRegion2D node from preview tree into script file, tools generate $NavigationRegion2D

But at this example, script bind on player node, correct path is $"../NavigationRegion2D"

Steps to reproduce

As above

@milkiq milkiq added the bug label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant