mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Move import to top
This commit is contained in:
parent
daa07a8a74
commit
be9c8a531b
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,8 @@ from ayon_core.pipeline.publish import (
|
||||||
import ayon_core.hosts.maya.api.action
|
import ayon_core.hosts.maya.api.action
|
||||||
from ayon_core.hosts.maya.api import lib
|
from ayon_core.hosts.maya.api import lib
|
||||||
|
|
||||||
|
from maya import cmds
|
||||||
|
|
||||||
|
|
||||||
class ValidateNodeIdsUnique(pyblish.api.InstancePlugin):
|
class ValidateNodeIdsUnique(pyblish.api.InstancePlugin):
|
||||||
"""Validate the nodes in the instance have a unique Colorbleed Id
|
"""Validate the nodes in the instance have a unique Colorbleed Id
|
||||||
|
|
@ -54,7 +56,6 @@ class ValidateNodeIdsUnique(pyblish.api.InstancePlugin):
|
||||||
# Check only non intermediate shapes
|
# Check only non intermediate shapes
|
||||||
# todo: must the instance itself ensure to have no intermediates?
|
# todo: must the instance itself ensure to have no intermediates?
|
||||||
# todo: how come there are intermediates?
|
# todo: how come there are intermediates?
|
||||||
from maya import cmds
|
|
||||||
instance_members = cmds.ls(instance, noIntermediate=True, long=True)
|
instance_members = cmds.ls(instance, noIntermediate=True, long=True)
|
||||||
|
|
||||||
# Collect each id with their members
|
# Collect each id with their members
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue