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

[Feature]: Allow functions that set images to use assets directly from addons #4183

Closed
Pmofmalasia opened this issue Jun 29, 2023 · 0 comments · Fixed by #4192
Closed

[Feature]: Allow functions that set images to use assets directly from addons #4183

Pmofmalasia opened this issue Jun 29, 2023 · 0 comments · Fixed by #4192
Assignees
Labels
feature Adding functionality that adds value

Comments

@Pmofmalasia
Copy link

Describe the Problem

Various functions used to set images currently do not accept assets directly from addons using the lib://namespace/path format, giving the error Argument number 1 invalid argument type for function X.

Functions tested so far:

  • createToken()
  • copyToken()
  • setTokenImage()
  • setTokenPortrait()
  • setTokenHandout()

The Solution you'd like

Allow these functions to use assets directly from addons.

Alternatives that you've considered.

Not doing this

Additional Context

I tested all of the functions I could think of that set images, but this appears to affect all functions of that type so if there are any I didn't think of they should be checked as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding functionality that adds value
Projects
Status: Done
2 participants