From e546a4e5b5691067a65c20dce58a929039066ae0 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Fri, 27 Jan 2023 13:23:46 +0100 Subject: [PATCH] Make it so that you can select instance with select action if its empty --- openpype/hosts/maya/plugins/publish/validate_model_content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpype/hosts/maya/plugins/publish/validate_model_content.py b/openpype/hosts/maya/plugins/publish/validate_model_content.py index ab9303f49d..9ba458a416 100644 --- a/openpype/hosts/maya/plugins/publish/validate_model_content.py +++ b/openpype/hosts/maya/plugins/publish/validate_model_content.py @@ -31,7 +31,7 @@ class ValidateModelContent(pyblish.api.InstancePlugin): content_instance = instance.data.get("setMembers", None) if not content_instance: cls.log.error("Instance has no nodes!") - return True + return [instance.data["name"]] # All children will be included in the extracted export so we also # validate *all* descendents of the set members and we skip any