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

Commit

Permalink
♻️ limit the scope of file attribute skipping filter
Browse files Browse the repository at this point in the history
  • Loading branch information
antirotor committed Jun 7, 2022
1 parent 8574858 commit 9babdb7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions openpype/hosts/maya/plugins/publish/collect_look.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,10 @@ def collect_resources(self, node):
source,
computed_source))

if not source:
self.log.info("source is empty, skipping...")
# renderman allows nodes to have filename attribute empty while
# you can have another incoming connection from different node.
if not source and cmds.nodeType(node).lower().startswith("pxr"):
self.log.info("Renderman: 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
Expand Down

0 comments on commit 9babdb7

Please sign in to comment.