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:
authorAntonio Vazquez <blendergit@gmail.com>2021-02-23 18:14:56 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-02-23 18:14:56 +0300
commitc62e60f01f2afb445380f7a38975848cc0496873 (patch)
tree9216fc31199d4578e54e172dc6bf497792e8a1c7 /release/scripts/startup
parent18be02b8590b0d7d8bbf9e26b1c49264e9fadd99 (diff)
Annotations: Add layer Opacity paramater
This option was removed in the refactor of grease pencil and never was set again.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 67905192fe8..8e47b3103cd 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -478,6 +478,7 @@ class AnnotationDataPanel:
tool_settings = context.tool_settings
if gpd and gpl:
+ layout.prop(gpl, "opacity", text="Opacity", slider=True)
layout.prop(gpl, "thickness")
else:
layout.prop(tool_settings, "annotation_thickness", text="Thickness")