Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2057] - Fix views/display submenus in OCIODisplay app #2068

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hannahmkrasnick
Copy link

@hannahmkrasnick hannahmkrasnick commented Sep 30, 2024

This fixes the bug where the "Views" submenu (renamed from "Transform") doesn't update when a new "Display" is chosen (renamed submenu from "Device").

#2057

Copy link

CLA Not Signed

@carolalynn carolalynn added the devdays24 Label for PRs for Dev Days 2024. label Sep 30, 2024
Copy link
Collaborator

@doug-walker doug-walker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this contribution Hannah!

Apologies for the delayed review, things have been very busy. Just one minor request below.

Minor issue, but I'm noticing a large number of white space changes. Not sure if that was you or you have an auto-formatter turned on. Although the changes are not bad, we generally don't like people to reformat white space in areas of the code they are not modifying. It makes the PR more difficult to review and it makes the git blame history of the file harder to follow. I won't ask you to waste your time reverting the changes, but please keep it in mind for future contributions.

float g_exposure_fstop{0.0f};
float g_display_gamma{1.0f};
int g_channelHot[4]{1, 1, 1, 1}; // show rgb
int viewsMenuID;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other global variables have a "g_" prefix, please follow that style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devdays24 Label for PRs for Dev Days 2024.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants