diff --git a/editor/editor_resource_picker.cpp b/editor/editor_resource_picker.cpp index e364e994cb0..8920ad10dcc 100644 --- a/editor/editor_resource_picker.cpp +++ b/editor/editor_resource_picker.cpp @@ -733,7 +733,7 @@ void EditorResourcePicker::drop_data_fw(const Point2 &p_point, const Variant &p_ break; } - if (at == "Texture2D" && Ref(dropped_resource).is_valid()) { + if (at == "ImageTexture" && Ref(dropped_resource).is_valid()) { Ref texture = edited_resource; if (!texture.is_valid()) { texture.instantiate();