From 084f04ec097a4b5566e988fb169a7ef3f2f91c92 Mon Sep 17 00:00:00 2001 From: Pratik Borhade Date: Tue, 14 Oct 2025 13:03:29 +0200 Subject: [PATCH] Fix: Gray out shape key when muted Missed during migrating shape keys to tree view. Pull Request: https://projects.blender.org/blender/blender/pulls/147798 --- .../editors/object/interface_template_shape_key_tree.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/editors/object/interface_template_shape_key_tree.cc b/source/blender/editors/object/interface_template_shape_key_tree.cc index b94e816b0df..e76c8eb7968 100644 --- a/source/blender/editors/object/interface_template_shape_key_tree.cc +++ b/source/blender/editors/object/interface_template_shape_key_tree.cc @@ -217,6 +217,9 @@ class ShapeKeyItem : public ui::AbstractTreeViewItem { sub->prop(&shapekey_ptr, "mute", UI_ITEM_R_ICON_ONLY, std::nullopt, ICON_NONE); sub->prop(&shapekey_ptr, "lock_shape", UI_ITEM_R_ICON_ONLY, std::nullopt, ICON_NONE); + if (shape_key_.kb->flag & KEYBLOCK_MUTE) { + row.active_set(false); + } } std::optional should_be_active() const override