Support loading more than one visual plugin on GUI side #1363
Labels
bug
Something isn't working
help wanted
We accept pull requests!
rendering
Involves Ignition Rendering
Environment
binary and source, ign-gazebo6
Description
Visual plugin support on the GUI side is added in #1275. However when multiple visual plugins are specified for a
<visual>
, only the last one will be loaded, see#1335 (comment)
This is mainly because we are only creating attaching one VisualPlugin component to a visual entity on the server side, which then get serialized and sent to the GUI side:
https://github.com/ignitionrobotics/ign-gazebo/blob/0dead0578ba3f26cf97f8162e55a0dbe1112484c/src/SdfEntityCreator.cc#L752-L761
A potential fix is to use component that stores a list of visual plugins instead
The text was updated successfully, but these errors were encountered: