From 84f826ff2316de610a6545b27071b0fd6e67e16d Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Tue, 31 Aug 2021 14:59:44 +0200 Subject: Fix T90989: Annotation opacity must not be animatable All props of annotations are not animatable by design and opacity must be equal. As the opacity is reused by gpencil objects, a new prop has been created in order to use different props for annotations and GP objects. --- release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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 8de6925c051..f87f5351d6d 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -454,7 +454,7 @@ class AnnotationDataPanel: tool_settings = context.tool_settings if gpd and gpl: - layout.prop(gpl, "opacity", text="Opacity", slider=True) + layout.prop(gpl, "annotation_opacity", text="Opacity", slider=True) layout.prop(gpl, "thickness") else: layout.prop(tool_settings, "annotation_thickness", text="Thickness") -- cgit v1.2.3