From d159f5c018e83004b03a21781617761ca3ee612f Mon Sep 17 00:00:00 2001
From: Marcus Ottosson <konstruktion@gmail.com>
Date: Tue, 17 Jan 2017 11:12:44 +0100
Subject: [PATCH] Repair validate_id.py

---
 mindbender/plugins/validate_id.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/mindbender/plugins/validate_id.py b/mindbender/plugins/validate_id.py
index eb8f94c..3bb1e4d 100644
--- a/mindbender/plugins/validate_id.py
+++ b/mindbender/plugins/validate_id.py
@@ -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):