diff options
| author | Tim Redfern <tim@getdrop.com> | 2018-11-29 21:41:23 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2018-11-29 21:41:23 +0000 |
| commit | b13a6be243a9c6abb3e6aa906ff033f81a5f209f (patch) | |
| tree | d184de6f7aa79344b221e515926a570cba5843b9 /gui | |
| parent | 8f4c9ab8bb36b81180e40d2ea00125479be35329 (diff) | |
colourise svg shapes
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/ofApp.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/src/ofApp.cpp b/gui/src/ofApp.cpp index 888b271..56d3792 100644 --- a/gui/src/ofApp.cpp +++ b/gui/src/ofApp.cpp @@ -784,6 +784,13 @@ void ofApp::drawOutput(ofEventArgs & args){ } } } + if (contour_useColour){ + vector<colourPolyline> newPolys; + for (auto p: polyOutput){ + newPolys.push_back(colourPolyline((ofPolyline)p,ofColor(laser_R,laser_G,laser_B))); + } + polyOutput=newPolys; + } break; } case Audio:{ |
