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

EMSUSD-256 allow Maya ref to be relative to the layer. #3236

Merged
merged 1 commit into from
Jul 31, 2023

Commits on Jul 28, 2023

  1. EMSUSD-256 allow Maya ref to be relative to the layer.

    - Prepare the current edit target before showing the file dialog.
    - Make the function used for this preparation clearer by naming the flag passed to disable the option for using the scene file as the relative root. When making things relative to the edit target, we don't want to accidentlly use the scene as the root when no saved layer exist.
    - Make the code creating the dialog for Maya ref use the code to make the path relative.
    - Change the label of the seperator in the file dialog.
    - Refactor the common Python code to avoid passing around some options and at teh same time make the function override have the same parameters. Having the same paarmeters is necessary since differnt classes will end-up calling different functions with the same parameters.
    - Split the code that create the relative path UI in two: one to setup the layout, one for the UI elements.
    - This was necessary because the dialog for the Maya ref already setup the layout.
    - Create new class for Maya ref relative UI.
    - Make the description not collapsable.
    pierrebai-adsk committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    2ba2e71 View commit details
    Browse the repository at this point in the history