diff view/View.cpp @ 1493:c5589d94b731

Improve drawn alignment of lines in AlignmentView against the view below; also cache the mapping locations
author Chris Cannam
date Fri, 09 Aug 2019 19:02:51 +0100
parents a2fbcfeb2572
children 6bb0afa607f5
line wrap: on
line diff
--- a/view/View.cpp	Thu Aug 08 13:33:38 2019 +0100
+++ b/view/View.cpp	Fri Aug 09 19:02:51 2019 +0100
@@ -2166,9 +2166,13 @@
     if (aligningModel) {
         alignmentModelId = aligningModel->getAlignment();
         alignmentReferenceId = aligningModel->getAlignmentReference();
+#ifdef DEBUG_VIEW_WIDGET_PAINT
         SVCERR << "alignmentModelId = " << alignmentModelId << " (reference = " << alignmentReferenceId << ")" << endl;
+#endif
     } else {
+#ifdef DEBUG_VIEW_WIDGET_PAINT
         SVCERR << "no aligningModel" << endl;
+#endif
     }
     ViewProxy aligningProxy(this, dpratio, alignmentModelId);