Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Enhancement: Update houdini main menu (#5527)
Browse files Browse the repository at this point in the history
* update houdini main menu

* add separator
  • Loading branch information
MustafaJafar authored Aug 29, 2023
1 parent ed53ef1 commit 65bd128
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion openpype/hosts/houdini/startup/MainMenuCommon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@
<mainMenu>
<menuBar>
<subMenu id="openpype_menu">
<label>OpenPype</label>
<labelExpression><![CDATA[
import os
return os.environ.get("AVALON_LABEL") or "OpenPype"
]]></labelExpression>
<actionItem id="asset_name">
<labelExpression><![CDATA[
from openpype.pipeline import get_current_asset_name, get_current_task_name
label = "{}, {}".format(get_current_asset_name(), get_current_task_name())
return label
]]></labelExpression>
</actionItem>

<separatorItem/>

<scriptItem id="openpype_create">
<label>Create...</label>
Expand Down

0 comments on commit 65bd128

Please sign in to comment.