From 18465815cd28b034ee4a755904a4d8084b00b4e9 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 23 Apr 2023 23:56:13 +0100 Subject: actually use palettes --- nextus/src/vectorPlugin.cpp | 2 -- nextus/src/vectorText.h | 11 +++++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/nextus/src/vectorPlugin.cpp b/nextus/src/vectorPlugin.cpp index 8a5a53d..4ffc35b 100644 --- a/nextus/src/vectorPlugin.cpp +++ b/nextus/src/vectorPlugin.cpp @@ -182,8 +182,6 @@ vector svgPanel::getLines(){ } } - //this should happen at output stage? - if (colourise){ for (auto p=output.begin();p!=output.end();p++){ p->setColour(ofColor(255,255,255)); diff --git a/nextus/src/vectorText.h b/nextus/src/vectorText.h index 4fb7520..91ff3c7 100644 --- a/nextus/src/vectorText.h +++ b/nextus/src/vectorText.h @@ -169,8 +169,8 @@ public: void loadPalette(string path){ ofxXmlSettings xml; if (xml.load(path)){ - ofLog()< palette; + ofLog()<<"loading palette "<