From 0439b8575acfb0fcc2938fcd6ad2376cf2724ed7 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 2 Feb 2009 15:48:12 +0000 Subject: [PATCH] fix crash --- src/trace/trace.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]); -- 2.30.2