Refactor: Anim, remove unnecessary method override

Remove the `BoneCollectionItem::supports_collapsing()` method, as the
parent class already does exactly the same thing. No need to override that.

No functional changes.
This commit is contained in:
Sybren A. Stüvel
2024-01-09 12:59:39 +01:00
parent e5b6126961
commit c4376c58e9

View File

@@ -239,11 +239,6 @@ class BoneCollectionItem : public AbstractTreeViewItem {
UI_menutype_draw(&C, mt, &column);
}
bool supports_collapsing() const override
{
return true;
}
std::optional<bool> should_be_active() const override
{
return armature_.runtime.active_collection_index == bcoll_index_;