Skip to content

EMSUSDC-405 Integrate Path Viewer into Asset Resolver dialog#4579

Open
AramAzhari-adsk wants to merge 9 commits intodevfrom
azharia/EMSUSDC-401/Integrate-AssetResolver-PathViewer
Open

EMSUSDC-405 Integrate Path Viewer into Asset Resolver dialog#4579
AramAzhari-adsk wants to merge 9 commits intodevfrom
azharia/EMSUSDC-401/Integrate-AssetResolver-PathViewer

Conversation

@AramAzhari-adsk
Copy link
Copy Markdown
Collaborator

EMSUSDC-405 Integrate Path Viewer into Asset Resolver dialog
EMSUSDC-254 Make Asset Resolver dialog non-modal

- Renamed Preferences Application Host to AssetResolverAppliactionHost
- Updated AssetResolverDialogCmd command to accept tab selection
{
switch (name) {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Tested this, all Global Settings icons appear correctly.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the MayaUSD Asset Resolver UI integration to use the newer Path Viewer–based dialog and to make the Asset Resolver dialog non-modal, aligning with EMSUSDC-405 and EMSUSDC-254.

Changes:

  • Replace the old modal USDAssetResolverDialog implementation with Adsk::AssetResolverPathDialog and add tab-selection support (paths vs globalSettings).
  • Update preferences initialization and host integration to use the new AssetResolverWidgets APIs/library.
  • Update CMake and find-module logic to link against the new Asset Resolver widgets/dialog library.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
plugin/adsk/scripts/mayaUsd_preferenceTab.mel Updates the Preferences button handler to open the Asset Resolver dialog directly on the settings tab.
lib/usd/ui/assetResolver/AssetResolverDialogCmd.cpp Reworks the assetResolverDialog command to show a singleton non-modal AssetResolverPathDialog, adds -tab flag, and wires settings persistence.
lib/usd/ui/assetResolver/PreferencesManagement.cpp Switches to the new AssetResolverWidgets settings headers and the renamed application host.
lib/usd/ui/assetResolver/AssetResolverApplicationHost.h / .cpp Renames/rebases the application host to the AssetResolverWidgets host API.
lib/usd/ui/assetResolver/AssetResolverUtils.cpp Updates include to the new widgets settings management header.
lib/usd/ui/assetResolver/CMakeLists.txt Replaces old sources/headers (removes USDAssetResolverDialog*, renames host files) to match the new dialog approach.
lib/usd/ui/CMakeLists.txt Updates link dependency from the old preferences library to the new dialog/widgets library.
cmake/modules/FindAdskUsdAssetResolver.cmake Renames the discovered library variable and updates lookup to AssetResolverWidgets.
lib/usd/ui/assetResolver/USDAssetResolverDialog.h / .cpp Removed (dialog implementation superseded by AssetResolverPathDialog).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread plugin/adsk/scripts/mayaUsd_preferenceTab.mel
Comment thread lib/usd/ui/assetResolver/AssetResolverDialogCmd.cpp Outdated
Comment thread lib/usd/ui/assetResolver/AssetResolverDialogCmd.cpp Outdated
Comment thread lib/usd/ui/assetResolver/AssetResolverDialogCmd.cpp Outdated
AssetResolverDialogCmd::finalize() calls close() on the dialog and WA_DeleteOnClose triggers deletion
The QPointer automatically becomes null and no dangling callbacks can call into unloaded code
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