Fallback to parent class icon by default for gdextension
This commit is contained in:
parent
250ef8dc32
commit
ce2fae79b1
19 changed files with 41 additions and 31 deletions
|
|
@ -1674,7 +1674,7 @@ void Node3DEditorViewport::_list_select(Ref<InputEventMouseButton> b) {
|
|||
for (int i = 0; i < selection_results.size(); i++) {
|
||||
Node3D *spat = selection_results[i];
|
||||
|
||||
Ref<Texture2D> icon = EditorNode::get_singleton()->get_object_icon(spat, "Node");
|
||||
Ref<Texture2D> icon = EditorNode::get_singleton()->get_object_icon(spat);
|
||||
|
||||
String node_path = "/" + root_name + "/" + String(root_path.rel_path_to(spat->get_path()));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue