summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c88ed4)
raw | patch | inline | side by side (parent: 1c88ed4)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 2 Feb 2009 15:48:12 +0000 (15:48 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 2 Feb 2009 15:48:12 +0000 (15:48 +0000) |
src/trace/trace.cpp | patch | blob | history |
diff --git a/src/trace/trace.cpp b/src/trace/trace.cpp
index c8937bdd82c2e8adbbd2d110facae9036ae05afc..e2bd0e9f583581cc9dba0a9fc01c36f06644789a 100644 (file)
--- a/src/trace/trace.cpp
+++ b/src/trace/trace.cpp
//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]);