### 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

‮
Node *scene = editor_data.get_edited_scene_root();
	if (!scene) {
		return;
	}
	String path = EditorPaths::get_singleton()->get_project_settings_dir().path_join(p_file.get_file() + "-editstate-" + p_file.md5_text() + ".cfg");
	Ref<ConfigFile> cf;
	cf.instantiate();
	Error err = cf->load(path);
	if (err != OK || !cf->has_section("editor_states")) {
		
		return;
	}
	List<String> esl;
	cf->get_section_keys("editor_states", &esl);
	Dictionary md;
	for (const String &E : esl) {
		Variant st = cf->get_value("editor_states", E);
		if (st.get_type() != Variant::NIL) {
			md[E] = st;
		}
	}
	editor_data.set_editor_states(md);
}
void EditorNode::_set_scene_metadata(const String &p_file, int p_idx) {