Fix T82356: Gpencil merge freezes Blender
The `gps_next` variable had a typo error and was wrongly used as `gps->next`
This commit is contained in:
parent
e699546bde
commit
0cf46631e1
Notes:
blender-bot
2023-02-14 08:40:26 +01:00
Referenced by issue #82356, GPencil: `Merge Points` on different layers freezes Blender
|
@ -413,7 +413,7 @@ static int gpencil_analyze_strokes(tGPencilPointCache *src_array,
|
|||
BLI_ghash_free(strokes, NULL, NULL);
|
||||
|
||||
/* add the stroke to array */
|
||||
if (gps->next != NULL) {
|
||||
if (gps_next != NULL) {
|
||||
BLI_ghash_insert(all_strokes, gps_next, gps_next);
|
||||
last = gpencil_insert_to_array(src_array, dst_array, totpoints, gps_next, reverse, last);
|
||||
/* replace last end */
|
||||
|
|
Loading…
Reference in New Issue