Add a check omitted in e5259d7a.

pull/238/head
whitequark 2017-04-16 00:35:44 +00:00
parent e5259d7a3e
commit 1480f890bd
1 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,8 @@ void GraphicsWindow::PasteClipboard(Vector trans, double theta, double scale) {
// For arcs, reflection involves swapping the endpoints, or otherwise // For arcs, reflection involves swapping the endpoints, or otherwise
// the arc gets inverted. // the arc gets inverted.
auto mapPoint = [scale](hEntity he) { auto mapPoint = [scale](hEntity he) {
if(he.v == 0) return he;
if(scale < 0) { if(scale < 0) {
hRequest hr = he.request(); hRequest hr = he.request();
Request *r = SK.GetRequest(hr); Request *r = SK.GetRequest(hr);