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:
@@ -29,9 +29,19 @@ Set path to the palette folder (there is a json palette IO but you an also put a
|
||||
Note about palette : For now the importer is not working with linked palette as it's not easy for animator (there are properties of the material you cannot access and the link grey-out fade the real color in UIlist preview)
|
||||
|
||||
|
||||
### Environnement Variables
|
||||
|
||||
Since 1.5.2, Following _environnement variable_ can set the project properties in toolbox preferences at register launch.
|
||||
|
||||
`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
|
||||
|
||||
### Passive action
|
||||
|
||||
Add an "on save" Handler that trigger relative remap of all path (can be disabled in addon prefs).
|
||||
An "on save" Handler that trigger relative remap of all path can be enabled in addon prefs (disabled by default).
|
||||
|
||||
### function
|
||||
|
||||
|
||||
Reference in New Issue
Block a user