Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-10-03 11:55:07 +0300
committerAntonioya <blendergit@gmail.com>2018-10-03 11:55:26 +0300
commit8d26705b3e4e780145d43cfde0c1a2c302c425e0 (patch)
tree9a8b5369b492f55cf6f16bdbb54238216d49ec60 /release/scripts/startup/bl_ui
parent2d21eb79ad48485bc7b3385d6df5c2c25fd88ee0 (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/startup/bl_ui')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_gpencil.py1
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):