On Fri, Mar 11, 2011 at 21:54, Seb Perez-D <sbprzd+...@gmail.com> wrote:
> I've noticed a recent change in the behaviour of the fast preview.
>
> When toggling an image on or off in the fast preview, it used to just
> make the image appear. Now the image is highlighted in red until the
> mouse leaves the image button. This makes comparing the panorama with
> or without an image much difficult. I use to toggle an image on or off
> quickly to see how it fit, now I cannot do that anymore.
>
> If nobody minds, could this change be reversed?
>
> I like that when you mouse over the image button the image is
> highlighted, I just dislike that it does so when you click on it.

I found that the change was introduced in GLPreviewFrame.cpp by
dmakreshanski when the group selection of images was put in place.

http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/diff/067870ab0d9b/src/hugin1/hugin/GLPreviewFrame.cpp

The patch attached seems to work for me. Could somebody confirm?

Cheers,

Seb

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
diff -r 6fcad1e7af5c src/hugin1/hugin/GLPreviewFrame.cpp
--- a/src/hugin1/hugin/GLPreviewFrame.cpp	Mon Mar 07 18:04:21 2011 +0100
+++ b/src/hugin1/hugin/GLPreviewFrame.cpp	Fri Mar 11 22:08:47 2011 +0100
@@ -2024,7 +2024,7 @@
     // the user moves the mouse over the image buttons, but only if the image
     // is being shown.
     if ( 
-//        identify_toolbutton->IsToggled() && 
+        identify_toolbutton->IsToggled() &&  // SEB
         m_pano->getActiveImages().count(image_number))
     {
         std::vector<PreviewIdentifyTool**>::iterator it;
@@ -2040,7 +2040,7 @@
     // if the mouse left one of the image toggle buttons with the identification
     // tool active, we should stop showing the image indicator for that button.
     if ( 
-//        identify_toolbutton->IsToggled() && 
+        identify_toolbutton->IsToggled() && 
         m_pano->getActiveImages().count(image_number))
     {
         std::vector<PreviewIdentifyTool**>::iterator it;

Reply via email to