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

This commit is contained in:
whitequark 2016-06-20 13:47:14 +00:00
parent 478973eb3c
commit fd255364b3

View File

@ -619,7 +619,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", CMNU_PASTE); AddContextMenuItem("Paste", CMNU_PASTE);
AddContextMenuItem("Paste Transformed...", CMNU_PASTE_XFRM); AddContextMenuItem("Paste Transformed...", CMNU_PASTE_XFRM);
} }