Fix T75271: GPencil Segment select mode doesn't work
The selection was workring with the evaluated data, but need work with the original data.
This commit is contained in:
parent
25b2b6724d
commit
c4374bc919
Notes:
blender-bot
2023-02-14 05:43:04 +01:00
Referenced by issue #75271, GPencil: Segment select mode doesn't work
|
@ -2173,7 +2173,8 @@ int ED_gpencil_select_stroke_segment(bGPDlayer *gpl,
|
|||
float f = 0.0f;
|
||||
int i2 = 0;
|
||||
|
||||
bGPDframe *gpf = gpl->actframe;
|
||||
bGPDlayer *gpl_orig = (gpl->runtime.gpl_orig) ? gpl->runtime.gpl_orig : gpl;
|
||||
bGPDframe *gpf = gpl_orig->actframe;
|
||||
if (gpf == NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue