Skip to content

Commit

Permalink
Merge branch 'gz-sim8' into merge_7_8_20240731
Browse files Browse the repository at this point in the history
  • Loading branch information
iche033 committed Aug 12, 2024
2 parents 408c9d4 + 523b01b commit 85254b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions examples/plugin/gui_system_plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

This example shows how to create a GUI system plugin.

Gazebo supports any kind of Gazebo GUI plugin
(`gz::gui::Plugin`). Gazebo GUI plugins are a special type of Gazebo
GUI plugin which also have access to entity and component updates coming from
the server.
Gazebo supports any kind of GUI plugin
(`gz-gui` library: `gz::gui::Plugin`). However, GuiSystem plugins
(`gz-sim` library: `gz::sim::GuiSystem`) are a special type of GUI plugin,
which also have access to entity and component updates coming from the server.

See `GuiSystemPluginPlugin.hh` for more information.

Expand Down
4 changes: 2 additions & 2 deletions src/gui/plugins/resource_spawner/ResourceSpawner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ void ResourceSpawner::OnDownloadFuelResource(const QString &_path,
// Set the waiting cursor while the resource downloads
QGuiApplication::setOverrideCursor(Qt::WaitCursor);
if (this->dataPtr->fuelClient->DownloadModel(
common::URI(_path.toStdString()), localPath))
common::URI(_path.toStdString(), true), localPath))
{
// Successful download, set thumbnail
std::string thumbnailPath = common::joinPaths(localPath, "thumbnails");
Expand Down Expand Up @@ -739,7 +739,7 @@ void ResourceSpawner::RunFetchResourceListThread(const std::string &_owner)
resource.isFuel = true;
resource.isDownloaded = false;
resource.owner = id.Owner();
resource.sdfPath = id.UniqueName();
resource.sdfPath = id.Url().Str();

QMetaObject::invokeMethod(
this, "UpdateOwnerListModel", Qt::QueuedConnection,
Expand Down

0 comments on commit 85254b9

Please sign in to comment.