From 942da23c4ebad390fd430aa342e318cb7951f6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20Berk=20T=C3=B6re?= Date: Thu, 18 Aug 2022 00:23:40 +0300 Subject: [PATCH] Introduces new mesh formats to the drag&drop err (#1653) Signed-off-by: Onur Berk Tore Signed-off-by: Onur Berk Tore --- src/gui/plugins/spawn/Spawn.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/plugins/spawn/Spawn.cc b/src/gui/plugins/spawn/Spawn.cc index 01e10ede20..fc01427d2c 100644 --- a/src/gui/plugins/spawn/Spawn.cc +++ b/src/gui/plugins/spawn/Spawn.cc @@ -582,7 +582,8 @@ void Spawn::OnDropped(const gz::gui::events::DropOnScene *_event) if (!common::MeshManager::Instance()->IsValidFilename(dropStr)) { QString errTxt = QString::fromStdString("Invalid URI: " + dropStr + - "\nOnly Fuel URLs or mesh file types DAE, OBJ, and STL are supported."); + "\nOnly Fuel URLs or mesh file types DAE, FBX, GLTF, OBJ, and STL are " + + "supported."); this->SetErrorPopupText(errTxt); return; }