unused but slightly tricky code to add track name/instrument to an SMF file when...
[ardour.git] / libs / canvas / rectangle.cc
index 64cdd3af8acedb78c52ee04cb744d03152bf2071..3158dad4ae102e6beb4a2d25c8733bb58879b59c 100644 (file)
@@ -90,7 +90,7 @@ Rectangle::render_self (Rect const & area, Cairo::RefPtr<Cairo::Context> context
                context->fill ();
        }
 
-       if (_outline) {
+       if (_outline && _outline_width && _outline_what) {
 
                setup_outline_context (context);