Commit: 3ee6d74f933aa5779ffe8a4da348f07a23cc034e
Author: Bastien Montagne
Date:   Thu Jan 16 11:35:10 2020 +0100
Branches: blender-v2.82-release
https://developer.blender.org/rB3ee6d74f933aa5779ffe8a4da348f07a23cc034e

Fix T73125: Crash when opening a file containing a Line Style.

Dummy typo in rB2e6159a4.

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

M       source/blender/blenloader/intern/versioning_280.c

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

diff --git a/source/blender/blenloader/intern/versioning_280.c 
b/source/blender/blenloader/intern/versioning_280.c
index d696aef76d4..6d4dd98729a 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -1034,7 +1034,7 @@ static void do_version_curvemapping_walker(Main *bmain, 
void (*callback)(CurveMa
 
   /* Free Style */
   LISTBASE_FOREACH (struct FreestyleLineStyle *, linestyle, 
&bmain->linestyles) {
-    LISTBASE_FOREACH (LineStyleModifier *, m, &linestyle->thickness_modifiers) 
{
+    LISTBASE_FOREACH (LineStyleModifier *, m, &linestyle->alpha_modifiers) {
       switch (m->type) {
         case LS_MODIFIER_ALONG_STROKE:
           callback(((LineStyleAlphaModifier_AlongStroke *)m)->curve);

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

Reply via email to