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

[Doc] Document loading behavior with relative paths #90039

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented Mar 30, 2024

See:

For a fix of the caching of relative paths (needed for this to be entirely correct)

The alternative would be to enforce this detail, but I don't think that's a reasonable change, instead the actual behavior should be documented

This also doesn't handle or consider that res://../foo.bar will be loaded as res://foo.bar, that's tracked elsewhere I believe

@AThousandShips AThousandShips added enhancement topic:core topic:gdscript documentation cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Mar 30, 2024
@AThousandShips AThousandShips added this to the 4.3 milestone Mar 30, 2024
@AThousandShips AThousandShips requested review from a team as code owners March 30, 2024 12:35
@akien-mga akien-mga merged commit 8f1b5d6 into godotengine:master Apr 8, 2024
16 checks passed
@AThousandShips AThousandShips deleted the load_relative_note branch April 8, 2024 09:28
@akien-mga
Copy link
Member

Thanks!

@AThousandShips
Copy link
Member Author

Thank you!

@akien-mga
Copy link
Member

Cherry-picked for 4.2.2.

@akien-mga akien-mga removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Apr 8, 2024
@akien-mga
Copy link
Member

Cherry-picked for 4.1.4.

@akien-mga akien-mga removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent treatment of load() from relative path
3 participants