From 33b43dd93341b9b6967e42d65ab18a6868ccca53 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Thu, 28 Mar 2019 11:43:17 +0100 Subject: Fix T63031: Keyframing Annotations doesn't work By design the annotation parameters must not be animatable. Annotations are designed to take notes, not to create animations, so any animatable parameters have been flagged as non-animatable. Note: As some properties are shared with grease pencil, I had to duplicate one property (adviced by @mont29) to keep grease pencil animatable but annotations don't. --- release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'release') 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 bb059d6befc..6e1253df968 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -650,8 +650,7 @@ class GPENCIL_UL_annotation_layer(UIList): split.prop(gpl, "info", text="", emboss=False) row = layout.row(align=True) - # row.prop(gpl, "lock", text="", emboss=False) - row.prop(gpl, "hide", text="", emboss=False) + row.prop(gpl, "annotation_hide", text="", emboss=False) elif self.layout_type == 'GRID': layout.alignment = 'CENTER' layout.label(text="", icon_value=icon) -- cgit v1.2.3