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

HistoryWindow : Add icon for CreateIfMissing tweak mode #5965

Conversation

murraystevenson
Copy link
Contributor

This corrects the icon for the CreateIfMissing tweak mode, currently an error icon would be displayed in the History Window for entries using that mode.

createIfMissingIcon

@johnhaddon johnhaddon merged commit 2ad043c into GafferHQ:1.3_maintenance Jul 18, 2024
4 checks passed
@@ -63,6 +63,7 @@ def cellData( self, path, canceller = None ) :
Gaffer.TweakPlug.Mode.Multiply : "multiplySmall.png",
Gaffer.TweakPlug.Mode.Remove : "removeSmall.png",
Gaffer.TweakPlug.Mode.Create : "createSmall.png",
Gaffer.TweakPlug.Mode.CreateIfMissing : "createIfMissingSmall.png",
Copy link
Member

@johnhaddon johnhaddon Jul 18, 2024

Choose a reason for hiding this comment

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

Not something to do now, but maybe worth bearing in mind for future refactoring. I think it would be much better if these icons were named to reflect that they are for tweak modes - tweakModeReplace.png for example. I had a hard time tracking them down the other day because they are named so generically. If they were named consistently then we wouldn't need this map either.

@murraystevenson murraystevenson deleted the historyWindowCreateIfMissingIconFix branch July 26, 2024 21:30
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