diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-28 13:43:17 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-28 13:43:32 +0300 |
commit | 33b43dd93341b9b6967e42d65ab18a6868ccca53 (patch) | |
tree | 4e7c2bb25d46b869879f2532d2d09b82ddd77929 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py | |
parent | 5bcca7ae9296408717449d24a4bc9ca6e30e3c44 (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 3 |
1 files changed, 1 insertions, 2 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 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) |