forked from bartvdbraak/blender
fixed a crash in edge slide
This commit is contained in:
parent
cea8e6b6ed
commit
3c8d34b94e
@ -4508,6 +4508,9 @@ void initEdgeSlide(TransInfo *t)
|
|||||||
createSlideVerts(t);
|
createSlideVerts(t);
|
||||||
sld = t->customData;
|
sld = t->customData;
|
||||||
|
|
||||||
|
if (!sld)
|
||||||
|
return;
|
||||||
|
|
||||||
initMouseInputMode(t, &t->mouse, INPUT_CUSTOM_RATIO);
|
initMouseInputMode(t, &t->mouse, INPUT_CUSTOM_RATIO);
|
||||||
setCustomPoints(t, &t->mouse, sld->end, sld->start);
|
setCustomPoints(t, &t->mouse, sld->end, sld->start);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user