Skip to content

Conversation

@adriengivry
Copy link
Member

@adriengivry adriengivry commented Mar 30, 2025

Description

This PR adds default actions for all asset types in the asset browser:

  • Sound: Open in default app (i.e. media player)
  • Script: Open in default app (text editor)
  • Shader & Shader Part: Open in default app (text editor)
  • Model: Open in asset view
  • Material: Open in asset view + material editor
  • Texture: Open in asset view

Also added common anonymous functions to handle getting & opening an asset in asset view and material editor (to avoid redundancy, as the contextual menus also offer these options).

Note: moved all asset browser .cpp classes and functions into the anonymous namespace (to avoid polluting the global namespace, hence the massive change list).

Related Issues

Closes #168

Screenshots

OvEditor_8MiNTejAjv.mp4

@adriengivry adriengivry self-assigned this Mar 30, 2025
@adriengivry adriengivry added QoL Quality of Life : Something that can improve users productivity Feature Editor Something relative with the editor labels Mar 30, 2025
@adriengivry adriengivry merged commit 69d56c1 into main Mar 31, 2025
1 check passed
@adriengivry adriengivry deleted the feature/asset_browser_double_click_actions branch March 31, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Editor Something relative with the editor QoL Quality of Life : Something that can improve users productivity

Development

Successfully merging this pull request may close these issues.

Asset double clicking default actions

3 participants