summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-01-07 20:43:56 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-01-07 20:43:56 +0000
commit4735dc985c0f63431a921646bda94e961a5683b4 (patch)
tree2746d8800d7414ea7276813855ffccd0ed86016b /src/desktop.cpp
parentUpdate/Completion of Croatian translation "hr.po" (diff)
downloadinkscape-4735dc985c0f63431a921646bda94e961a5683b4.tar.gz
inkscape-4735dc985c0f63431a921646bda94e961a5683b4.zip
Fix bug 1810206: Crash if XRay mode enabled (assertion failed in SPCanvas::paintXRayBuffer) and other improvements to XRay
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 2c47c5296..5ae70094b 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -780,8 +780,6 @@ Geom::Point SPDesktop::point() const
return p;
}
- // Shouldn't happen
- std::cerr << "SPDesktop::point(): point outside of canvas!" << std::endl;
Geom::Point r0 = w2d(r.min());
Geom::Point r1 = w2d(r.max());
return (r0 + r1) / 2.0;