From: buliabyak Date: Mon, 2 Feb 2009 15:48:12 +0000 (+0000) Subject: fix crash X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0439b8575acfb0fcc2938fcd6ad2376cf2724ed7;p=inkscape.git fix crash --- diff --git a/src/trace/trace.cpp b/src/trace/trace.cpp index c8937bdd8..e2bd0e9f5 100644 --- a/src/trace/trace.cpp +++ b/src/trace/trace.cpp @@ -283,7 +283,8 @@ Tracer::sioxProcessImage(SPImage *img, //Get absolute X,Y position double xpos = ((double)aImg->bbox.x0) + iwscale * (double)col; Geom::Point point(xpos, ypos); - point *= *aImg->transform; + if (aImg->transform) + point *= *aImg->transform; //point *= imgMat; //point = desktop->doc2dt(point); //g_message("x:%f y:%f\n", point[0], point[1]);