From 1480f890bd652a16028a7c8dc03bf20b019ba59f Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 16 Apr 2017 00:35:44 +0000 Subject: [PATCH] Add a check omitted in e5259d7a. --- src/clipboard.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/clipboard.cpp b/src/clipboard.cpp index 8753e039..48d33812 100644 --- a/src/clipboard.cpp +++ b/src/clipboard.cpp @@ -164,6 +164,8 @@ void GraphicsWindow::PasteClipboard(Vector trans, double theta, double scale) { // For arcs, reflection involves swapping the endpoints, or otherwise // the arc gets inverted. auto mapPoint = [scale](hEntity he) { + if(he.v == 0) return he; + if(scale < 0) { hRequest hr = he.request(); Request *r = SK.GetRequest(hr);