Add solo/hide/lock/delete buttons to node groups in bezier track editor

Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
This commit is contained in:
Mikael Hermansson 2025-09-24 18:00:28 +02:00
parent f5918a9d35
commit ebf6016267
3 changed files with 297 additions and 78 deletions

View file

@ -2155,7 +2155,7 @@ void AnimationTrackEdit::_notification(int p_what) {
} break;
case NOTIFICATION_DRAW: {
if (animation.is_null()) {
if (animation.is_null() || animation->get_track_count() == 0) {
return;
}
ERR_FAIL_INDEX(track, animation->get_track_count());