disable coloring things with reverse compliment colors.
authorDiane Trout <diane@caltech.edu>
Thu, 23 Mar 2006 19:08:27 +0000 (19:08 +0000)
committerDiane Trout <diane@caltech.edu>
Thu, 23 Mar 2006 19:08:27 +0000 (19:08 +0000)
since the reverse compliment color (blue) is being applied incorrectly
just disable it for the moment. ticket:44

this of course needs to be reversed when I actually fix the bug.

alg/glseqbrowser.cpp

index 155750fdafe9b5d5ff22ea31b4745f4c9b6f0d47..6991152c342c801cc0f3138f4243f5ced9d281a8 100644 (file)
@@ -503,11 +503,19 @@ void GlSeqBrowser::draw_segments() const
           glColor3f(1.0, 0.8, 0.8);
         }
       } else { 
+        // hack for demo, hide the reverse compliment color bug
+        if (selected_paths.size() == 0 or selected.size() > 0) {
+          glColor3f(1.0, 0.0, 0.0);
+        } else {
+          glColor3f(1.0, 0.8, 0.8);
+        }
+        /*
         if (selected_paths.size() == 0 or selected.size() > 0) {
           glColor3f(0.0, 0.0, 1.0);
         } else {
           glColor3f(0.8, 0.8, 1.0);
         }
+        */
       }
       // save the multipart name for our segment
       glPushName(path_index); glPushName(key.first); glPushName(key.second);