Commit: 354bc1297e342db59a4f89c79e14523c65fcd693
Author: Sybren A. Stüvel
Date:   Tue Nov 26 14:52:58 2019 +0100
Branches: master
https://developer.blender.org/rB354bc1297e342db59a4f89c79e14523c65fcd693

Clarified comment about `modifiers_getVirtualModifierList()`

The old comment was outdated and incorrect.

No functional changes.

===================================================================

M       source/blender/blenkernel/intern/modifier.c

===================================================================

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)
 {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to