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

Unreal: Use client query functions #3421

Merged
merged 5 commits into from
Jun 28, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Modified Unreal host to use query functions from PR.

Description

Unreal is using query functions from openpype.client to get versions.

Testing notes:

  1. Load Camera - try load camera
  2. Load Layout - try load layout
  3. Extract layout should work

@ynbot
Copy link
Contributor

ynbot commented Jun 27, 2022

Task linked: OP-3386 Use query functions in Unreal

@iLLiCiTiT iLLiCiTiT self-assigned this Jun 27, 2022
@iLLiCiTiT iLLiCiTiT added host: UE type: refactor Structural changes not affecting functionality labels Jun 27, 2022
Copy link
Contributor

@simonebarbieri simonebarbieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting this error for both camera and layout loading:

Traceback (most recent call last):
  File "C:\Dev\OpenPype\openpype\openpype\tools\loader\widgets.py", line 1556, in _load_representations_by_loader
    options=options
  File "C:\Dev\OpenPype\openpype\openpype\pipeline\load\utils.py", line 285, in load_with_repre_context
    return loader.load(repre_context, name, namespace, options)
  File "C:\Dev\OpenPype\openpype\openpype\hosts\unreal\plugins\load\load_layout.py", line 631, in load
    sequence, frame_range = self._generate_sequence(h, h_dir)
  File "C:\Dev\OpenPype\openpype\openpype\hosts\unreal\plugins\load\load_layout.py", line 371, in _generate_sequence
    fields=["_id", "data.clipIn", "data.clipOut"]
TypeError: get_assets() got an unexpected keyword argument 'parent_ids'

@iLLiCiTiT
Copy link
Member Author

That's because I forgot to commit.

Copy link
Contributor

@simonebarbieri simonebarbieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works now 👍

@iLLiCiTiT iLLiCiTiT merged commit 71f1bdd into develop Jun 28, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/OP-3386_Use-query-functions-in-Unreal branch June 28, 2022 11:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: UE type: refactor Structural changes not affecting functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants