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

HiddenFilePathFilter: Fix hidden sequences #5831

Merged
merged 1 commit into from
Apr 30, 2024

Commits on Apr 30, 2024

  1. HiddenFilePathFilter: Fix hidden sequences

    Fixes GafferHQ#5810
    
    When checking a path that has the `#` character for frame substitutions,
    `HiddenFilePathFilter` would always treat it as hidden. The file with
    `#` does not exist, so the Windows API would return
    `INVALID_FILE_ATTRIBUTES` whose value is `-1`. `FILE_ATTRIBUTE_HIDDEN`
    has a value of `2`. `-1 & 2 = 2`, so sequences would always be
    considered hidden.
    ericmehl committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    6108cc8 View commit details
    Browse the repository at this point in the history