diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2019-11-26 16:52:58 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2019-11-26 18:26:52 +0300 |
commit | 354bc1297e342db59a4f89c79e14523c65fcd693 (patch) | |
tree | 4b877ec09389f2b40575f58b11ceb430e3537cd9 /source/blender/blenkernel/intern/modifier.c | |
parent | b214e06b02e83fc518e4d06b2fefaf6fce4b9abc (diff) |
Clarified comment about `modifiers_getVirtualModifierList()`
The old comment was outdated and incorrect.
No functional changes.
Diffstat (limited to 'source/blender/blenkernel/intern/modifier.c')
-rw-r--r-- | source/blender/blenkernel/intern/modifier.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c index 1c83bec17e5..8f04596da3e 100644 --- a/source/blender/blenkernel/intern/modifier.c +++ b/source/blender/blenkernel/intern/modifier.c @@ -612,9 +612,8 @@ ModifierData *modifiers_getLastPreview(struct Scene *scene, ModifierData *md, in return tmp_md; } -/* NOTE: This is to support old files from before Blender supported modifiers, - * in some cases versioning code updates these so for new files this will - * return an empty list. */ +/* This is to include things that are not modifiers in the evaluation of the modifier stack, for + * example parenting to an armature. */ ModifierData *modifiers_getVirtualModifierList(Object *ob, VirtualModifierData *virtualModifierData) { |