diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-03 11:55:07 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-03 11:55:26 +0300 |
commit | 8d26705b3e4e780145d43cfde0c1a2c302c425e0 (patch) | |
tree | 9a8b5369b492f55cf6f16bdbb54238216d49ec60 /source/blender/makesdna/DNA_gpencil_types.h | |
parent | 2d21eb79ad48485bc7b3385d6df5c2c25fd88ee0 (diff) |
GP: Add z-depth offset parameter
This parameter allows to define the percentage of offset of a stroke when uses surface mode.
Before, this was a fixed value, but for some artists' purposes, it's good to have the option to change it.
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h index b1cf1f6db80..b533cb48886 100644 --- a/source/blender/makesdna/DNA_gpencil_types.h +++ b/source/blender/makesdna/DNA_gpencil_types.h @@ -354,7 +354,7 @@ typedef struct bGPdata { float gcolor_prev[3]; /* optional color for ghosts before the active frame */ float gcolor_next[3]; /* optional color for ghosts after the active frame */ - char pad[4]; + float zdepth_offset; /* offset for drawing over surfaces to keep strokes on top */ struct Material **mat; /* materials array */ short totcol; /* total materials */ |