Commit: c85ca5e365f8ca7128043e5665c6c1a58ed9b899
Author: Hans Goudey
Date:   Fri Dec 9 09:24:57 2022 -0600
Branches: master
https://developer.blender.org/rBc85ca5e365f8ca7128043e5665c6c1a58ed9b899

Fix T103015: Line art crash after recent refactor

Caused by 0940719b5ab3a35b6 which neglected to assign the
mesh loops data.

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

M       source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.cc

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

diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.cc 
b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.cc
index 446c079cd54..dc65ffd60a4 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.cc
+++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.cc
@@ -2045,6 +2045,7 @@ static void 
lineart_geometry_object_load(LineartObjectInfo *ob_info,
   tri_data.ob_info = ob_info;
   tri_data.mlooptri = mlooptri;
   tri_data.verts = me->verts();
+  tri_data.loops = me->loops();
   tri_data.material_indices = material_indices;
   tri_data.vert_arr = la_v_arr;
   tri_data.tri_arr = la_tri_arr;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to