You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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
The text was updated successfully, but these errors were encountered:
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 callingget_id_path()
dynamically.How to Reproduce
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
The text was updated successfully, but these errors were encountered: