From 96150eba27fc64e519b7c1756e6b0f36f886746a Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Tue, 28 Jun 2022 21:10:45 +0200 Subject: [PATCH] Remove no visible nodes warning in extractors since validator catches those cases --- openpype/hosts/maya/plugins/publish/extract_animation.py | 7 ------- openpype/hosts/maya/plugins/publish/extract_pointcache.py | 7 ------- 2 files changed, 14 deletions(-) diff --git a/openpype/hosts/maya/plugins/publish/extract_animation.py b/openpype/hosts/maya/plugins/publish/extract_animation.py index 4b650b4b26..b04e2bf0c4 100644 --- a/openpype/hosts/maya/plugins/publish/extract_animation.py +++ b/openpype/hosts/maya/plugins/publish/extract_animation.py @@ -86,13 +86,6 @@ class ExtractAnimation(openpype.api.Extractor): nodes = get_visible_in_frame_range(nodes, start=start, end=end) - if not nodes: - self.log.warning( - "No visible nodes found in frame range {}-{}. " - "Skipping extraction because `visibleOnly` is enabled on " - "the instance.".format(start, end) - ) - return with suspended_refresh(): with maintained_selection(): diff --git a/openpype/hosts/maya/plugins/publish/extract_pointcache.py b/openpype/hosts/maya/plugins/publish/extract_pointcache.py index 768ee6da3d..f582a106d9 100644 --- a/openpype/hosts/maya/plugins/publish/extract_pointcache.py +++ b/openpype/hosts/maya/plugins/publish/extract_pointcache.py @@ -89,13 +89,6 @@ class ExtractAlembic(openpype.api.Extractor): nodes = get_visible_in_frame_range(nodes, start=start, end=end) - if not nodes: - self.log.warning( - "No visible nodes found in frame range {}-{}. " - "Skipping extraction because `visibleOnly` is enabled on " - "the instance.".format(start, end) - ) - return with suspended_refresh(): with maintained_selection():