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:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user