fix getenv resolution
1.6.6 - fix: inverted scene resolution from project environnementgpv2
parent
a9ed3f7e79
commit
884ee2a695
|
@ -1,5 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
1.6.6
|
||||||
|
|
||||||
|
- fix: inverted scene resolution from project environnement
|
||||||
|
|
||||||
1.6.5
|
1.6.5
|
||||||
|
|
||||||
- feat: check canvas alignement of the Gp object compare to chosen draw axis
|
- feat: check canvas alignement of the Gp object compare to chosen draw axis
|
||||||
|
|
10
__init__.py
10
__init__.py
|
@ -15,7 +15,7 @@ bl_info = {
|
||||||
"name": "GP toolbox",
|
"name": "GP toolbox",
|
||||||
"description": "Set of tools for Grease Pencil in animation production",
|
"description": "Set of tools for Grease Pencil in animation production",
|
||||||
"author": "Samuel Bernou, Christophe Seux",
|
"author": "Samuel Bernou, Christophe Seux",
|
||||||
"version": (1, 6, 5),
|
"version": (1, 6, 6),
|
||||||
"blender": (2, 91, 0),
|
"blender": (2, 91, 0),
|
||||||
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
@ -486,11 +486,11 @@ def set_env_properties():
|
||||||
fps = os.getenv('FPS')
|
fps = os.getenv('FPS')
|
||||||
prefs.fps = int(fps) if fps else prefs.fps
|
prefs.fps = int(fps) if fps else prefs.fps
|
||||||
|
|
||||||
render_height = os.getenv('RENDER_HEIGHT')
|
|
||||||
prefs.render_res_x = int(render_height) if render_height else prefs.render_res_x
|
|
||||||
|
|
||||||
render_width = os.getenv('RENDER_WIDTH')
|
render_width = os.getenv('RENDER_WIDTH')
|
||||||
prefs.render_res_y = int(render_width) if render_width else prefs.render_res_y
|
prefs.render_res_x = int(render_width) if render_width else prefs.render_res_x
|
||||||
|
|
||||||
|
render_height = os.getenv('RENDER_HEIGHT')
|
||||||
|
prefs.render_res_y = int(render_height) if render_height else prefs.render_res_y
|
||||||
|
|
||||||
palettes = os.getenv('PALETTES')
|
palettes = os.getenv('PALETTES')
|
||||||
if prefs.use_env_palettes:
|
if prefs.use_env_palettes:
|
||||||
|
|
Loading…
Reference in New Issue