mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix maya's on_startup callback
This commit is contained in:
parent
5d6c37e229
commit
112fe8ff51
1 changed files with 2 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ def on_open(_):
|
|||
"""On scene open let's assume the containers have changed."""
|
||||
|
||||
from avalon.vendor.Qt import QtWidgets
|
||||
from ...widgets import popup
|
||||
from pype.widgets import popup
|
||||
|
||||
cmds.evalDeferred(
|
||||
"from pype.hosts.maya.api import lib;"
|
||||
|
|
@ -223,4 +223,4 @@ def on_task_changed(*args):
|
|||
lib.show_message(
|
||||
"Context was changed",
|
||||
("Context was changed to {}".format(avalon.Session["AVALON_ASSET"])),
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue