You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Use switch consistently in _notification (scene folder)
This commit is contained in:
@@ -30,9 +30,6 @@
|
||||
|
||||
#include "path_3d.h"
|
||||
|
||||
void Path3D::_notification(int p_what) {
|
||||
}
|
||||
|
||||
void Path3D::_curve_changed() {
|
||||
if (is_inside_tree() && Engine::get_singleton()->is_editor_hint()) {
|
||||
update_gizmos();
|
||||
@@ -223,8 +220,8 @@ void PathFollow3D::_notification(int p_what) {
|
||||
_update_transform(false);
|
||||
}
|
||||
}
|
||||
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
path = nullptr;
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user