Skip to content

Fixed GUI color map update (HACK)#744

Merged
aashish24 merged 1 commit intomasterfrom
fix_gui_color_map_update_hack
Oct 6, 2014
Merged

Fixed GUI color map update (HACK)#744
aashish24 merged 1 commit intomasterfrom
fix_gui_color_map_update_hack

Conversation

@aashish24
Copy link
Copy Markdown
Contributor

@doutriaux1 @dlonie please approve

aashish24 added a commit that referenced this pull request Oct 6, 2014
@aashish24 aashish24 merged commit 97a5f6e into master Oct 6, 2014
@aashish24 aashish24 deleted the fix_gui_color_map_update_hack branch October 6, 2014 13:58
@doutriaux1
Copy link
Copy Markdown
Contributor

yes looks a lot like a hack, let me give it a shot, I'm afraid this will break something in the resize mechanism

@doutriaux1
Copy link
Copy Markdown
Contributor

@aashish24 please do NOT self approve this is the wrong way to fix this. How do you go at unmerging?

@aashish24
Copy link
Copy Markdown
Contributor Author

@doutriaux1 this is how fixed it. Its not my fix per say.

@aashish24
Copy link
Copy Markdown
Contributor Author

@doutriaux1 don't revert this commit. This works and this is what you had in your other commit. I tested it and it works with other fix we did.

@doutriaux1
Copy link
Copy Markdown
Contributor

ithink this was not for colormap but interaction, the colormap fix was by calling "update" after setcolormap. I will push a branch in a minute. I might put this line back in if really needed.

@aashish24
Copy link
Copy Markdown
Contributor Author

it was for the color map. Accroding to you note in the configureEvent, the GUI only handles the resize event and this change was required for that. Just callign update fixes the VCS but not the GUI. @dlonie looked into it quite a bit and so did I. There is a test for it as well. test_vcs_color I believe.

@doutriaux1
Copy link
Copy Markdown
Contributor

ok i'm looking into it again. Sorry it was before the vacation, and I'd rather spend an extra 2 hours on this rather than pushing sometihng wrong.

@doutriaux1
Copy link
Copy Markdown
Contributor

better safe than sorry.

@aashish24
Copy link
Copy Markdown
Contributor Author

Go ahead.. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants