This is a Blender add-on that applies any modifiers to a mesh that has shape keys. It will apply any of the modifiers you select, restore all the settings, drivers, and any animation data on the shapes.
This add-on can help if you run into the error "Modifier cannot be applied to a mesh with shape keys"
The add-on will only be available for Mesh objects in Object Mode.
It can be found in the Shape Key Context Menu or by using the search function.
You can also search for it in the 3D Viewport by pressing F3 and typing "Apply Modifiers with Shape Keys".
After activating the tool you will see a popup dialog box.
Chose which modifiers to apply and click OK
Duplicate Mesh:
Loop through Shape Keys:
This process is done one shape key at a time to reduce the memory load on your machine, which is important if you're working with a high-density mesh and a lot of shape keys.
Theoretically, if you can apply the modifiers to the base shape and all your shape keys and the resulting meshes have the same number of vertices, the add-on will work with any modifier.
However, as you may know, several Blender modifiers can change the number of vertices on the base mesh (e.g., Subdivision Surface, Mirror modifier with Bisect or Merge enabled, Geometry Nodes, etc.). This can cause problems because Blender can only join meshes with shape keys if they have the same number of vertices.
If your attempt to apply the modifiers is incomplete or results in an error, undo the operation and consider the following tips.
Certain modifiers can cause problems when applied in a specific order. For example:
Instead of applying multiple modifiers at once, try applying them individually. This can help pinpoint which modifier is causing the issue. For example, if a combination of Subdivision and Mirror fails, applying them one at a time might help identify which one is the problem.
Is there a specific shape key that causes the operation to fail?
If you can identify it, try removing that particular shape key. Once the problematic shape is removed, the others may succeed. You can always rebuild the troublesome shape afterwards.
The add-on is designed to work with mesh objects. If you're using a Geometry Nodes setup, make sure that the output is a mesh object (not instances, for example). You may need to "realize" the instances so the output is truly a mesh object.
Code Optimised. Includes support for action slots in Blender 4.4
This extension does not require special permissions.