add environnement variable

1.5.2

- add environnement variables to set addon preferences project settings at register through `os.getenv('KEY')`:
  - `RENDER_WIDTH` : resolution x
  - `RENDER_HEIGHT` : resolution y
  - `FPS` : project frame rate
  - `PALETTES` : path to the blends (or json) containing materials palettes
  - `BRUSHES` : path to the blend containing brushes to load
This commit is contained in:
Pullusb
2021-06-23 16:30:30 +02:00
parent 2b4c797e7e
commit 253d1501a1
5 changed files with 81 additions and 7 deletions
Regular → Executable
View File