From b7d52214101960e8e821efdca417306ab99957e8 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Tue, 26 Apr 2022 09:43:56 +0200 Subject: [PATCH] Remove redundant workaround --- openpype/hosts/maya/api/lib.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openpype/hosts/maya/api/lib.py b/openpype/hosts/maya/api/lib.py index 901b8c4a4c..52e84c00ab 100644 --- a/openpype/hosts/maya/api/lib.py +++ b/openpype/hosts/maya/api/lib.py @@ -3294,10 +3294,6 @@ def get_visible_in_frame_range(nodes, start, end): traversed_parents = list() for parent in iter_parents(node): - if not parent: - # Workaround bug in iter_parents - continue - if parent in always_invisible or get_state(parent) == INVISIBLE: # When parent is always invisible then consider this parent, # this node we started from and any of the parents we