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.
If you run into the problem below, this add-on will let you apply that modifier.
- Open Blender and go to Edit > Preferences > Get-Extensions.
- In the Get-Extensions tab, click Install... at the top right of the window.
- Search for the add-on by name in search bar, and click Install to enable it.
- Download the add-on
.zip
file. - In Blender, go to Edit > Preferences > Add-ons.
- Click the Install... button at the top of the preferences window.
- Select the
.zip
file you downloaded and click Install Add-on. - Enable the add-on by checking the box next to Apply Modifiers to Mesh with Shape Keys.
Once the add-on is installed, make sure to enable it with the checkbox in the Add-ons tab.
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:
- The add-on creates a duplicate of the original mesh, removes all the shape keys, and applies the selected modifier(s) by evaluating the mesh and swapping it out (it avoids using the apply modifiers operator).
-
Loop through Shape Keys:
- For each shape key, it creates another duplicate of the mesh.
- It evaluates the mesh with just that single shape key active with the selected modifier(s) enabled.
- It then merges this new mesh back into the original as a shape key. (it also avoids using the apply modifier operator)
-
Restore Shape Keys:
- After processing all the shape keys, the add-on restores the original shape key values, animation data, and drivers (if applicable) on the original mesh.
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:
- Subdivision followed by Mirror (with Bisect) could fail, especially if any shape keys move vertices away from the mid-line.
- Try applying the modifiers in the opposite order to see if that resolves the issue.
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 afterward.
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.