Show "Paste" context menu item even when only constraints are copied.

pull/19/head
whitequark 2016-06-20 13:47:14 +00:00
parent e0283b2d2e
commit 85cd44df3c
1 changed files with 2 additions and 2 deletions

View File

@ -614,7 +614,7 @@ void GraphicsWindow::MouseRightUp(double x, double y) {
} }
} }
if(SS.clipboard.r.n > 0 && LockedInWorkplane()) { if((SS.clipboard.r.n > 0 || SS.clipboard.c.n > 0) && LockedInWorkplane()) {
AddContextMenuItem("Paste", ContextCommand::PASTE); AddContextMenuItem("Paste", ContextCommand::PASTE);
AddContextMenuItem("Paste Transformed...", ContextCommand::PASTE_XFRM); AddContextMenuItem("Paste Transformed...", ContextCommand::PASTE_XFRM);
} }