From fe0a703a192a37b96aa4f6048c8e542c24671705 Mon Sep 17 00:00:00 2001 From: James Turner Date: Fri, 18 May 2012 06:49:18 +0100 Subject: [PATCH] Fix a dumb bug in NavDisplay text-enable. --- src/Instrumentation/NavDisplay.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/NavDisplay.cxx b/src/Instrumentation/NavDisplay.cxx index 9c84efd4d..5664828f9 100644 --- a/src/Instrumentation/NavDisplay.cxx +++ b/src/Instrumentation/NavDisplay.cxx @@ -861,7 +861,7 @@ void NavDisplay::addSymbolToScene(SymbolInstance* sym) addLine(sym->pos, sym->endPos, def->lineColor); } - if (!def->hasText) { + if (!def->hasText || !def->textEnabled) { return; }