Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.

This commit is contained in:
hbina085 2019-06-28 23:09:59 -04:00
parent 3942c939e3
commit 9f0c6a6009
7 changed files with 19 additions and 12 deletions

View file

@ -232,7 +232,8 @@ void SpriteFramesEditor::_notification(int p_what) {
_delete->set_icon(get_icon("Remove", "EditorIcons"));
new_anim->set_icon(get_icon("New", "EditorIcons"));
remove_anim->set_icon(get_icon("Remove", "EditorIcons"));
} // Fallthrough.
FALLTHROUGH;
}
case NOTIFICATION_THEME_CHANGED: {
splite_sheet_scroll->add_style_override("bg", get_stylebox("bg", "Tree"));
} break;