### Godot version

eaf306e0b

### System information

ArchLinux x11

### Issue description

Creating points on a path3d doesnt work.

### Steps to reproduce

- Create path3d
- Create a new curve resource
- Click the add point button
- Click anywhere
- No points!

### Minimal reproduction project

‮
for (int i = p_start; i < editor_data.get_edited_scene_count(); i++) {
		if (!editor_data.get_edited_scene_root(i)) {
			continue;
		}
		bool unsaved = EditorUndoRedoManager::get_singleton()->is_history_unsaved(editor_data.get_scene_history_id(i));
		if (unsaved) {
			String scene_filename = editor_data.get_edited_scene_root(i)->get_scene_file_path();
			if (p_valid_filename && scene_filename.length() == 0) {
				continue;
			}
			return i;
		}
	}
	return -1;
}
void EditorNode::_exit_editor(int p_exit_code) {