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.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user