Delete model fails using gzclient
I spawned some models in the simulation using standard gzclient. Then, i have a plugin in those models that shows the models already spawned in the world.
Suppose that i have 3 models : robot1, robot2 and robot3. When i insert robot4 it should show me robot1, robot2 and robot3 as the already spawned models. If i delete robot2 and i spawn another model, if i read the world model list it still shows me robot2, even after i deleted it ...
Help ?
What API functions are you using to check the list of models in the world?
Hi. Im doing a list output when i load a new model, in the model's plugin. I have access to the matching WorldPtr, so i use Model_V GetModels (), where Model_V is std::vector<modelptr>.