Use switch consistently in _notification (scene folder)
This commit is contained in:
parent
171021145d
commit
0f5455230c
127 changed files with 2853 additions and 2601 deletions
|
|
@ -228,9 +228,9 @@ Line2D::LineCapMode Line2D::get_end_cap_mode() const {
|
|||
|
||||
void Line2D::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_DRAW:
|
||||
case NOTIFICATION_DRAW: {
|
||||
_draw();
|
||||
break;
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue