mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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:
parent
f5918a9d35
commit
ebf6016267
3 changed files with 297 additions and 78 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue