Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
Part of #33027.
This commit is contained in:
parent
e956e80c1f
commit
69de7ce38c
91 changed files with 4146 additions and 1632 deletions
|
|
@ -819,10 +819,14 @@ String Node::get_rpc_md5() const {
|
|||
|
||||
bool Node::can_process_notification(int p_what) const {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_PHYSICS_PROCESS: return data.physics_process;
|
||||
case NOTIFICATION_PROCESS: return data.idle_process;
|
||||
case NOTIFICATION_INTERNAL_PROCESS: return data.idle_process_internal;
|
||||
case NOTIFICATION_INTERNAL_PHYSICS_PROCESS: return data.physics_process_internal;
|
||||
case NOTIFICATION_PHYSICS_PROCESS:
|
||||
return data.physics_process;
|
||||
case NOTIFICATION_PROCESS:
|
||||
return data.idle_process;
|
||||
case NOTIFICATION_INTERNAL_PROCESS:
|
||||
return data.idle_process_internal;
|
||||
case NOTIFICATION_INTERNAL_PHYSICS_PROCESS:
|
||||
return data.physics_process_internal;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
@ -2994,10 +2998,14 @@ void Node::_bind_methods() {
|
|||
|
||||
String Node::_get_name_num_separator() {
|
||||
switch (ProjectSettings::get_singleton()->get("node/name_num_separator").operator int()) {
|
||||
case 0: return "";
|
||||
case 1: return " ";
|
||||
case 2: return "_";
|
||||
case 3: return "-";
|
||||
case 0:
|
||||
return "";
|
||||
case 1:
|
||||
return " ";
|
||||
case 2:
|
||||
return "_";
|
||||
case 3:
|
||||
return "-";
|
||||
}
|
||||
return " ";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue