Skip to content

Commit

Permalink
Introduces new mesh formats to the drag&drop err
Browse files Browse the repository at this point in the history
Signed-off-by: Onur Berk Tore <[email protected]>
  • Loading branch information
Onur Berk Tore committed Aug 17, 2022
1 parent 734ff3a commit a1263b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/plugins/spawn/Spawn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a1263b4

Please sign in to comment.