diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-13 07:46:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-13 07:46:59 +0300 |
commit | 952d6663e08cf69fe44914d1e040fe5cab224f2a (patch) | |
tree | d073405ab1c92f28dbf898dfe65a07c408e00865 /source/blender | |
parent | 7b0c8097a7d14ed709e0e1290f18a21b1d83c5f0 (diff) |
Fix modifier deform by armature check ignoring virtual modifiers
Regression in f00cb93dbec7bf5dc05302c868f20fcd5aed7db7 (fix for T63125)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/modifier.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c index 3b67237f5eb..e60f0102b9a 100644 --- a/source/blender/blenkernel/intern/modifier.c +++ b/source/blender/blenkernel/intern/modifier.c @@ -729,7 +729,6 @@ Object *BKE_modifiers_is_deformed_by_armature(Object *ob) ArmatureGpencilModifierData *agmd = NULL; GpencilModifierData *gmd = BKE_gpencil_modifiers_get_virtual_modifierlist( ob, &gpencilvirtualModifierData); - gmd = ob->greasepencil_modifiers.first; /* return the first selected armature, this lets us use multiple armatures */ for (; gmd; gmd = gmd->next) { @@ -749,7 +748,6 @@ Object *BKE_modifiers_is_deformed_by_armature(Object *ob) VirtualModifierData virtualModifierData; ArmatureModifierData *amd = NULL; ModifierData *md = BKE_modifiers_get_virtual_modifierlist(ob, &virtualModifierData); - md = ob->modifiers.first; /* return the first selected armature, this lets us use multiple armatures */ for (; md; md = md->next) { |