From da458c66e5b7944d512cc1f830e1bf071cdc7032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 25 Jul 2024 11:41:37 +0200 Subject: [PATCH] Anim: only show Action Slot panel when experimental flag set Only show the Action Slot panel in the dope sheet when the experimental flag is set. --- scripts/startup/bl_ui/space_dopesheet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/startup/bl_ui/space_dopesheet.py b/scripts/startup/bl_ui/space_dopesheet.py index 0f6a95db067..44ada3e63c0 100644 --- a/scripts/startup/bl_ui/space_dopesheet.py +++ b/scripts/startup/bl_ui/space_dopesheet.py @@ -644,6 +644,8 @@ class DOPESHEET_PT_action_slot(Panel): @classmethod def poll(cls, context): + if not context.preferences.experimental.use_animation_baklava: + return False action = context.active_action return bool(action and action.slots.active)