Skip to content

Commit

Permalink
Repair validate_id.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Jan 17, 2017
1 parent de726f9 commit d159f5c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mindbender/plugins/validate_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ class ValidateMindbenderID(pyblish.api.InstancePlugin):
def process(self, instance):
from maya import cmds

nodes = list(instance)
nodes += cmds.listRelatives(instance, allDescendents=True) or list()
missing = list()
for node in cmds.listRelatives(instance, allDescendents=True):

for node in nodes:

# Only check transforms with a shape
if not cmds.listRelatives(node, shapes=True):
Expand Down

0 comments on commit d159f5c

Please sign in to comment.