fixed a crash in edge slide

This commit is contained in:
Joseph Eagar 2009-09-22 09:04:43 +00:00
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);