godot
godot copied to clipboard
Expose EditorInspector.edit to scripting
Context: I tried to add export settings to a custom format defined in a GDScript plugin, like https://github.com/godotengine/godot/pull/79316, but I found that the edit function of EditorInspector was not exposed, so it was not possible. This PR exposes it. I have tested that this works correctly.
We already have multiple edit_* methods exposed in EditorInterface. Are the already exposed APIs not sufficient for your use case?
@raulsntos They're not sufficient, because I don't want to edit in the main inspector, I want to edit in a separate inspector.
Thanks!