EditorPlugin.edit
is not called when EditorPlugin.handles()
returns true
for objects inside collections
#56797
Labels
Milestone
Godot version
v3.4.stable.official [206ba70]
System information
Windows 11 x64
Issue description
If you're making a plugin and you try to edit a resource that you plugin handles, you'll notice that your
edit()
function is not called and that the array inspector is not opening the default editor.As you can see in the gif,
handles()
method is called, butedit()
is not.No idea if those lines are related to it:
godot/editor/editor_properties_array_dict.cpp
Line 206 in 6fac314
godot/editor/editor_properties.cpp
Line 2428 in 6fac314
godot/editor/editor_plugin.cpp
Line 650 in 6fac314
Steps to reproduce
edit()
function and put a print thereedit()
is never called.or
Minimal reproduction project
handles_test.zip
The text was updated successfully, but these errors were encountered: