summaryrefslogtreecommitdiff
path: root/gui/src
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2018-11-29 21:41:23 +0000
committerTim Redfern <tim@getdrop.com>2018-11-29 21:41:23 +0000
commitb13a6be243a9c6abb3e6aa906ff033f81a5f209f (patch)
treed184de6f7aa79344b221e515926a570cba5843b9 /gui/src
parent8f4c9ab8bb36b81180e40d2ea00125479be35329 (diff)
colourise svg shapes
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/ofApp.cpp7
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:{