Geometry modification of dwc in RWStudio causing geometry duplicates
Duplicates of the geometries in a scene are duplicated when Bodies are added/removed in a dwc in RWStudio. This seems to only be a problem when modifying the dwc after loading it into RWStudio, but not if the dwc is modified (with exact same code) in the generic event listener for "DynamicWorkCellLoaded".
When having opened a dwc in RWStudio and inspecting the tree view. Then modification of the geometry of body X by first removing it from the wc and then adding the new through the workcell commands "removeObject" and "add". This then in the tree view create duplicates of other objects in the workcell and the object in the workcell previously called remove on, does still exist together with the one newly added.
Using same approach, but rwsim::dynamics::Body::setObject(obj) instead to modify the geometry with a completely new created does not change the geometry (no apparent effect).