Page MenuHome

"Make Asset" and the Search Menu
Needs Triage, NormalPublicTO DO

Description

It may be a good idea to include the "Make Asset" operator in the search menu. But currently it will only work in the Outliner and if items are selected there.

We could:

  • Hide it from the search menu outside of the Outliner.
  • Show it but throw an error, explaining that it needs to be executed in the Outliner.
  • Somehow support the operator everywhere. E.g. it could create assets from the selected objects in the 3D View.
  • Always hide it from the search menu (OPTYPE_INTERNAL).

Event Timeline

Julian Eisel (Severin) moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Dec 4 2020, 11:06 AM

We can easily get something decent to work by now:

"Make Asset" now operates on context (id or selected_ids context members). It's just a matter of going through editors and adding the context logic for them.
Then the search menu can execute the operator fine, on whatever data the editor determines as selected (or "focused" in case of the single id).