From 3c8d34b94e8c615c0349a01e3ea5e6381feaeefa Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Tue, 22 Sep 2009 09:04:43 +0000 Subject: [PATCH] fixed a crash in edge slide --- source/blender/editors/transform/transform.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 8f3fcfedd18..7e381b24186 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -4508,6 +4508,9 @@ void initEdgeSlide(TransInfo *t) createSlideVerts(t); sld = t->customData; + if (!sld) + return; + initMouseInputMode(t, &t->mouse, INPUT_CUSTOM_RATIO); setCustomPoints(t, &t->mouse, sld->end, sld->start);