mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
moved sceneinventory import to method where is used
This commit is contained in:
parent
55dfb0817c
commit
7e925f94f4
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import pyblish.api
|
||||
|
||||
import openpype.lib
|
||||
from avalon.tools import cbsceneinventory
|
||||
|
||||
|
||||
class ShowInventory(pyblish.api.Action):
|
||||
|
|
@ -11,7 +9,9 @@ class ShowInventory(pyblish.api.Action):
|
|||
on = "failed"
|
||||
|
||||
def process(self, context, plugin):
|
||||
cbsceneinventory.show()
|
||||
from avalon.tools import sceneinventory
|
||||
|
||||
sceneinventory.show()
|
||||
|
||||
|
||||
class ValidateContainers(pyblish.api.ContextPlugin):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue