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

Fix Path::find for absolute paths #439

Open
Sygmei opened this issue Nov 27, 2022 · 1 comment
Open

Fix Path::find for absolute paths #439

Sygmei opened this issue Nov 27, 2022 · 1 comment
Assignees
Labels
bug Issue with a bug to fix
Projects

Comments

@Sygmei
Copy link
Member

Sygmei commented Nov 27, 2022

Path::find method does not work for absolute paths

We might need to remove implicit_root_path and try to detect absolute paths instead so they ignore prefixes

@Sygmei Sygmei added the bug Issue with a bug to fix label Nov 27, 2022
@Sygmei Sygmei self-assigned this Nov 27, 2022
@Sygmei Sygmei added this to To do in Version 0.5 via automation Nov 27, 2022
@Sygmei
Copy link
Member Author

Sygmei commented Mar 18, 2023

Easiest way to test the issue is to have an empty project with the following boot.lua

boot.lua

function Game.Start()
  Engine.Scene:load_from_file("/some/absolute/path/to/scene.vili")
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue with a bug to fix
Projects
Version 0.5
  
To do
Development

No branches or pull requests

1 participant