Skip to content

Commit

Permalink
Remove forward-ported restriction on model loading (#2104)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
  • Loading branch information
mjcarroll authored Aug 31, 2023
1 parent f83456f commit b3731d6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,6 @@ Server::Server(const ServerConfig &_config)
return;
}

if (this->dataPtr->sdfRoot.WorldCount() == 0)
{
gzerr << "SDF file doesn't contain a world. " <<
"If you wish to spawn a model, use the ResourceSpawner GUI plugin " <<
"or the 'world/<world_name>/create' service.\n";
return;
}

// Add record plugin
if (_config.UseLogRecord())
{
Expand Down

0 comments on commit b3731d6

Please sign in to comment.