You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
Part of #33027.
This commit is contained in:
@@ -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 " ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user