-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What Happened
#305 implemented drag from the Filesystem dock to the block coding canvas. It creates a value block of type String. Internally it has the file path hardcoded res://
. But if the file is then renamed, the block keeps the old path. This can be improved by using the resource UID and calling get_id_path()
dynamically.
How to Reproduce
- Drag a file from the Filesystem dock to the Block Coding canvas.
- Insert the new block into a "log (string)" block, and stack all into a "when starting" block.
- Run the scene and see the file path correctly printed in the output.
- Rename the file in the Filesystem dock.
- Run the scene again -> the old file path is printed.
Block Coding Plugin Version
v0.8.0
Godot Engine Version
v4.3
Operating System
Endless OS
Logs or command-line output
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working