From 59da45360a885ad87a2fba7654f93543e71fbc5c Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Mon, 19 Oct 2015 19:18:20 +0200 Subject: [PATCH] Reset color to white before drawing joints --- src/UserInterface/TextureEditor.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/UserInterface/TextureEditor.cpp b/src/UserInterface/TextureEditor.cpp index 8d80668..7420399 100755 --- a/src/UserInterface/TextureEditor.cpp +++ b/src/UserInterface/TextureEditor.cpp @@ -114,8 +114,10 @@ void TextureEditor::keyReleased(ofKeyEventArgs& args) { void TextureEditor::draw() { if (surface == NULL) return; - - drawJoints(); + + // Reset default color to white + ofSetColor(255, 255, 255, 255); + drawJoints(); } void TextureEditor::drawJoints() {