You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Port existing _notification code to use switch statements (part 1/3)
This commit is contained in:
committed by
Jean-Michel Bernard
parent
f5b9cbaff6
commit
dcd2a92af3
@@ -107,14 +107,13 @@ void EditorDebuggerInspector::_bind_methods() {
|
||||
|
||||
void EditorDebuggerInspector::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_POSTINITIALIZE:
|
||||
case NOTIFICATION_POSTINITIALIZE: {
|
||||
connect("object_id_selected", callable_mp(this, &EditorDebuggerInspector::_object_selected));
|
||||
break;
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
edit(variables);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user