Saving world file does not include changes to Lights

Create issue
Issue #346 closed
Steve Peters created an issue

Saving the world file in gzclient does not currently save any changes made to lights in the client program.

To test this:

  1. Load an empty world (standard invocation of gazebo)
  2. Add some spotlights or point sources
  3. Move and/or rotate the sun (directional light)
  4. Save world as filename
  5. grep '<light ' filename | wc -l should be greater than 1 if you added any lights
  6. xmlstarlet sel -t -c '//light[@name="sun"]/pose' filename should output something different than <pose>0.000000 0.000000 10.000000 0.000000 0.000000 0.000000</pose> if you moved or rotated the sun.

Comments (8)

  1. Log in to comment