Open osrf-migration opened 11 years ago
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
Until 2.0
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Title updated after I spent some time trying to figure out why a heightmap could be loaded from a world file, but not through the InsertModelWidget.
When a heightmap is in the world file, the client requests a scene_info message from the World, which eventually leads to visual messages being processed by Scene::ProcessVisualMsg. Currently this function has tricks for loading heightmap visuals (see lines 2280-2303).
On the other hand, when using the InsertModelWidget, the Visual::Load function gets called by gui::ModelMaker::Init, but there are no Heightmap-specific hacks.
Original report (archived issue) by Daniel Vaz (Bitbucket: danielvaz).
The original report had attachments: manifest.xml, model.sdf
When I try to add this model in gazebo-1.4.0 I can't see where I am going to put it. But if I click somewhere it appears in GUI. After I delete this model in tab "World", the GUI doesn't refresh, and if I try to add new instances of this model I can't see if it was added (and where it was added).
I attached the model file.
The steps to reproduce are:
1) Put the model in GAZEBO_MODEL_PATH
2) Start gazebo
3) Click in the insert tab and choose Terrain model (you can't see the model while move the cursor)
4) Click anywhere in the GUI (the model will be added)
5) In the tab World->Models, delete the terrain instance (the GUI will not refresh)
6) In the tab Insert, try to add another instance of terrain model (the other instance will not displayed)