webots icon indicating copy to clipboard operation
webots copied to clipboard

Skin not updated when model changed

Open stefaniapedrazzi opened this issue 2 years ago • 3 comments

After changing the model URL of a Skin node, the old skin is removed but the new one doesn't appear in the 3D scene and nothing is printed in the console, so the user doesn't know if the model is correct or some errors are found. After reloading the simulation the updated skin appears correctly.

If there are no technical problems preventing loading the skin, then the new skin should appear immediately after changing the model URL.

stefaniapedrazzi avatar Jun 08 '22 07:06 stefaniapedrazzi

I cannot reproduce it on the master branch but only on the develop branch.

stefaniapedrazzi avatar Jun 08 '22 08:06 stefaniapedrazzi

Changing the URL in a Mesh node works correctly.

stefaniapedrazzi avatar Jun 13 '22 07:06 stefaniapedrazzi

Actually the new skin appears after changing the URL but after one (or more) simulation steps.

stefaniapedrazzi avatar Jun 13 '22 08:06 stefaniapedrazzi