File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -138,12 +138,6 @@ namespace gz
138
138
// / \return True on success.
139
139
private: bool CreateCamera ();
140
140
141
- // / \brief Callback that is triggered when the scene changes on
142
- // / the Manager.
143
- // / \param[in] _scene Pointer to the new scene.
144
- private: void OnSceneChange (gz::rendering::ScenePtr /* _scene*/ )
145
- { }
146
-
147
141
GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
148
142
// / \brief Data pointer for private data
149
143
// / \internal
Original file line number Diff line number Diff line change @@ -217,7 +217,13 @@ void WideAngleCameraSensorTest::ImagesWithBuiltinSDF(
217
217
EXPECT_GT (b, g);
218
218
EXPECT_GT (b, r);
219
219
220
+ auto sensorId = sensor->Id ();
221
+ EXPECT_TRUE (mgr.Remove (sensorId));
222
+ EXPECT_EQ (nullptr , mgr.Sensor (sensorId));
223
+
220
224
// Clean up
225
+ box.reset ();
226
+ blue.reset ();
221
227
engine->DestroyScene (scene);
222
228
gz::rendering::unloadEngine (engine->Name ());
223
229
}
You can’t perform that action at this time.
0 commit comments