Fix copying and pasting image requests.

pull/238/head
whitequark 2017-04-08 17:17:38 +00:00
parent 99f6ea34f1
commit 287bd98a3f
2 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,7 @@ void GraphicsWindow::CopySelection() {
cr.style = e->style;
cr.str = e->str;
cr.font = e->font;
cr.file = e->file;
cr.construction = e->construction;
{for(int i = 0; i < pts; i++) {
Vector pt;
@ -168,6 +169,7 @@ void GraphicsWindow::PasteClipboard(Vector trans, double theta, double scale) {
r->style = cr->style;
r->str = cr->str;
r->font = cr->font;
r->file = cr->file;
r->construction = cr->construction;
// Need to regen to get the right number of points, if extraPoints
// changed.

View File

@ -912,6 +912,7 @@ public:
hStyle style;
std::string str;
std::string font;
Platform::Path file;
bool construction;
Vector point[MAX_POINTS_IN_ENTITY];