Commit: c62e60f01f2afb445380f7a38975848cc0496873
Author: Antonio Vazquez
Date:   Tue Feb 23 16:14:56 2021 +0100
Branches: master
https://developer.blender.org/rBc62e60f01f2afb445380f7a38975848cc0496873

Annotations: Add layer Opacity paramater

This option was removed in the refactor of grease pencil and never was set 
again.

===================================================================

M       release/scripts/startup/bl_ui/properties_grease_pencil_common.py

===================================================================

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")

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to