Skip to content

added context item to avalon menu#5

Merged
BigRoy merged 3 commits intoBigRoy:fix412from
ynput:fix412_context_label
Feb 13, 2020
Merged

added context item to avalon menu#5
BigRoy merged 3 commits intoBigRoy:fix412from
ynput:fix412_context_label

Conversation

@iLLiCiTiT
Copy link

This is one of possible solutions for missing context item in avalon menu (don't have houdini so don't know if that will work)

from avalon import api
return "%s - %s" % (api.Session["AVALON_ASSET"], api.Session["AVALON_TASK"])
]]></labelExpression>
<scriptCode><![CDATA[return None]]></scriptCode>

Choose a reason for hiding this comment

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

This line <scriptCode><![CDATA[return None]]></scriptCode> will raise Error, you could just remove it since <scriptCode> is not a must for <scriptItem>.

Copy link
Author

Choose a reason for hiding this comment

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

fixed

@BigRoy BigRoy merged commit 297824d into BigRoy:fix412 Feb 13, 2020
@mkolar mkolar deleted the fix412_context_label branch February 27, 2020 16:35
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.

3 participants