Skip to content

Commit

Permalink
get_datablocks_with_filepath accept indirect lib (ynput#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaamaurice authored and Tilix4 committed Aug 4, 2023
1 parent 5de2d96 commit 91fb621
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions openpype/hosts/blender/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,6 @@ def get_datablocks_with_filepath(
and datablock.filepath != ""
and not datablock.library
and not datablock.is_library_indirect
and not (
isinstance(datablock, bpy.types.Library)
and datablock.parent
)
):
if relative and datablock.filepath.startswith("//"):
datablocks.add(datablock)
Expand Down

0 comments on commit 91fb621

Please sign in to comment.