diff options
author | Ton Roosendaal <ton@blender.org> | 2007-01-18 19:14:37 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-01-18 19:14:37 +0300 |
commit | 1ff93c41f90e9ac353217266f18ad1b26e43fc74 (patch) | |
tree | 974f26d8c252356115945bb60b9fd05d5e837478 | |
parent | 271b97282fad49468cb2787556f07a09c1a4d96f (diff) |
Bugfix #5394
Option "Apply Modifier" did not work for meshes with shape keys. Even made
a very bad mess of the Mesh. Added warning in code and prevented apply.
-rw-r--r-- | source/blender/src/buttons_editing.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c index d878c609e4d..fca3866fdaa 100644 --- a/source/blender/src/buttons_editing.c +++ b/source/blender/src/buttons_editing.c @@ -1184,6 +1184,10 @@ static void modifiers_applyModifier(void *obv, void *mdv) error("Modifier changes topology; cannot apply with multires active"); return; } + if(me->key) { + error("Modifier cannot be applied to Mesh with Shape Keys"); + return; + } sculptmode_pmv_off(me); |