From 3a2ba3a2aa53e2b39957e8991b3ad430ced47d48 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Thu, 11 Aug 2016 14:02:12 +0300 Subject: [PATCH] Enable alpha blending before drawing `CircleJoint` --- src/UserInterface/CircleJoint.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/UserInterface/CircleJoint.cpp b/src/UserInterface/CircleJoint.cpp index 8ecfcf5..47cd8b9 100644 --- a/src/UserInterface/CircleJoint.cpp +++ b/src/UserInterface/CircleJoint.cpp @@ -17,9 +17,12 @@ void CircleJoint::draw(){ if(!visible){ return; } + if(!enabled){ return; } + + ofEnableAlphaBlending(); ofPushStyle(); ofFill();