HoangGiang93 / urdf_importer

Add-on for Blender, provides importing robots from URDF format
MIT License
27 stars 12 forks source link

Force object to become single_user before applying modifiers #4

Closed brean closed 2 months ago

brean commented 2 months ago

Blender 4.1 gives the error message 'Modifiers cannot be applied to multi-user data' on the turtlebot3-description packages for ROS2, so we force single_user before applying the modifier

brean commented 2 months ago

...its probably not really Blender 4 related but special for the turtlebot-urdf.

brean commented 2 months ago

@HoangGiang93 Please take a look at this and test it/help me with testing it. I am unsure if we always can/need to call make_single_user on everything but the turtlebot 3 models requires it. A version of the descriptions after running xacro for testing can be found on my svelte-visualization plugin git repo: https://github.com/brean/urdf-viewer/tree/main/static/turtlebot3_description