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

Material node editor Image source node accepting relative links #14856

Closed
lbartworks opened this issue Mar 11, 2024 · 2 comments
Closed

Material node editor Image source node accepting relative links #14856

lbartworks opened this issue Mar 11, 2024 · 2 comments
Assignees
Milestone

Comments

@lbartworks
Copy link

Issue
The imagesource material node editor just takes complete URLs in the link option. That makes the json file not very portable.

Solution.
The node editor accepts relative links. If the link contains
"/folder/image.jpg"
the rest of the URL can be taken from the server address hosting the webpage. In this way that .json file with the material can be more easily ported from one server to another without having to patch the file.

Link of the discussion:
https://forum.babylonjs.com/t/node-editor-image-source-accepting-relative-links/48641/2

Copy link

This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".

@github-actions github-actions bot added the stale label Mar 27, 2024
deltakosh added a commit that referenced this issue May 8, 2024
@lbartworks
Copy link
Author

Thanks David, I'll check it out asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants