Reloading Workcell Bug
It has come to my attention that when one tries to reload a workcell in RobWorkstudio where one of the models in that workcell has changed shape, then it updates the model that gets rendered, but not the collision detector.
This is also the case when loading and reloading a workcell in c++ using the command DynamicWorkCellLoader::load. It was found that this issue could be avoid by using clearGeometryCache in advance. An example of the code can be seen bellow
rw::loaders::GeometryFactory::clearGeometryCache(); // This is to make sure that nothing from the old scene remains dwc = DynamicWorkCellLoader::load(pathToRootFolder+"sceneFiles/tracks/" + subFolder + "/" + wcName+".dwc.xml");
It would therefore be nice if the collision detector gets updated as well.