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

[Skin] global variables handling #3402

Open
jbleyel opened this issue Aug 22, 2024 · 0 comments
Open

[Skin] global variables handling #3402

jbleyel opened this issue Aug 22, 2024 · 0 comments

Comments

@jbleyel
Copy link
Contributor

jbleyel commented Aug 22, 2024

The access to variables should be replaced by a function like this:

Current:

from skin import parameters
parameters.get(..)

New:

from skin import getParameters
getParameters().get(..)

parameters is only one example.

Why do we need this?
The import of these global variables will not work if the values will be changed.

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

1 participant