Fix T78900: Single vertex sliding crashes
As we can see in `initVertSlide_ex`, `sld` can be `NULL`. `sld` is dereferenced, but can still be `NULL`.
This commit is contained in:
parent
01ec76842f
commit
1e5ce39156
Notes:
blender-bot
2023-02-14 02:08:37 +01:00
Referenced by issue #78900, Single vertex sliding crashes
|
@ -500,6 +500,10 @@ static void doVertSlide(TransInfo *t, float perc)
|
|||
|
||||
FOREACH_TRANS_DATA_CONTAINER (t, tc) {
|
||||
VertSlideData *sld = tc->custom.mode.data;
|
||||
if (sld == NULL) {
|
||||
continue;
|
||||
}
|
||||
|
||||
TransDataVertSlideVert *svlist = sld->sv, *sv;
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue