Is it possible to "save world as.." preserving the include tags?

asked 2021-09-29 10:06:58 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I created an empty world using the empty SDF template:

<sdf version="1.5">
  <world name="default">
    <!-- A global light source -->
    <!-- A ground plane -->

Whenever I try to save a copy of it, adding new models or not, it saves a new SDF file without the include tags, which makes my new world file so big.

Is there an option, maybe an argument or even CLI, to preserve or force include tags to make the world file cleaner?


edit retag flag offensive close merge delete