File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,13 @@ void SystemManager::ProcessPendingEntitySystems()
220
220
{
221
221
Entity entity = req.entity ().id ();
222
222
223
+ if (req.plugins ().empty ())
224
+ {
225
+ ignerr << " Unable to add plugins to Entity: '" << entity
226
+ << " '. No plugins specified." << std::endl;
227
+ continue ;
228
+ }
229
+
223
230
for (auto &pluginMsg : req.plugins ())
224
231
{
225
232
std::string fname = pluginMsg.filename ();
@@ -231,5 +238,3 @@ void SystemManager::ProcessPendingEntitySystems()
231
238
}
232
239
this ->systemsToAdd .clear ();
233
240
}
234
-
235
-
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ class EntitySystemTest : public InternalFixture<::testing::TestWithParam<int>>
149
149
};
150
150
151
151
// ///////////////////////////////////////////////
152
- // See https://github.com/ignitionrobotics/ign-gazebo /issues/1175
152
+ // See https://github.com/gazebosim/gz-sim /issues/1175
153
153
TEST_P (EntitySystemTest, IGN_UTILS_TEST_DISABLED_ON_WIN32(PublishCmd))
154
154
{
155
155
TestPublishCmd (
You can’t perform that action at this time.
0 commit comments