Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
🐛 skip empty attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
antirotor committed Jun 2, 2022
1 parent 9825529 commit 8574858
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openpype/hosts/maya/plugins/publish/collect_look.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,9 @@ def collect_resources(self, node):
source,
computed_source))

if not source:
self.log.info("source is empty, skipping...")
continue
# We replace backslashes with forward slashes because V-Ray
# can't handle the UDIM files with the backslashes in the
# paths as the computed patterns
Expand Down

0 comments on commit 8574858

Please sign in to comment.