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 /release/scripts | |
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 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_gpencil.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py index 5d3d29dbe24..3c9a30ff882 100644 --- a/release/scripts/startup/bl_ui/properties_data_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py @@ -344,6 +344,7 @@ class DATA_PT_gpencil_display(DataButtonsPanel, Panel): layout.prop(gpd, "show_stroke_direction", text="Show Stroke Directions") layout.prop(gpd, "use_force_fill_recalc", text="Force Fill Update") + layout.prop(gpd, "zdepth_offset", text="Surface Offset") class DATA_PT_custom_props_gpencil(DataButtonsPanel, PropertyPanel, Panel): |